Difference between revisions of "Encryption"

From Tech-Wiki
Jump to: navigation, search
(Created page with " Category:Encryption ==Asymmetric (Public/Private Keys)== ==Symmetric== ==Misc== ==External links==")
 
(Asymmetric (Public/Private Keys))
Line 2: Line 2:
 
[[Category:Encryption]]
 
[[Category:Encryption]]
 
==Asymmetric (Public/Private Keys)==
 
==Asymmetric (Public/Private Keys)==
 +
 +
 +
[[Category:Certificate Consversion]]
 +
Sometimes there is a need to convert a SSL certificate from one format to another for example a load balancer & Windows IIS will probably require different formats. You can use openssl to do this conversion by using the following commands.
 +
 +
Convert from PEM to PFX
 +
 +
openssl pkcs12 -export -out output.pfx -inkey input.key -in input.crt -certfile input.ca-bundle
 +
 +
Where
 +
output.pfx      - this is the output file
 +
input.key      - this is the original key file used to create the csr
 +
input.crt      - this is the file received back from the certificate authority
 +
input.ca-bundle - this is the cert from the certificate authority we are converting to pfx
  
 
==Symmetric==
 
==Symmetric==

Revision as of 03:00, 8 May 2012

Asymmetric (Public/Private Keys)

Sometimes there is a need to convert a SSL certificate from one format to another for example a load balancer & Windows IIS will probably require different formats. You can use openssl to do this conversion by using the following commands.

Convert from PEM to PFX

openssl pkcs12 -export -out output.pfx -inkey input.key -in input.crt -certfile input.ca-bundle

Where
output.pfx      - this is the output file
input.key       - this is the original key file used to create the csr
input.crt       - this is the file received back from the certificate authority
input.ca-bundle - this is the cert from the certificate authority we are converting to pfx

Symmetric

Misc

External links