SSL Certificate

SSL Certificates are a critical part of any hosted page or service that operates on Port 443 or SSL!!!

Great program for messing around with SSL Certs and Private keys is Open SSL

One thing I find that I am constantly doing is pulling out the Private Key from a PFX File that I have created as a backup for my SSL Certificate.

Install OpenSSL

NOW, If you want to extract private key from a pfx file and write it to PEM file

>> openssl.exe pkcs12 -in publicAndprivate.pfx -nocerts -out privateKey.pem

Of course the other thing I find myself doing is importing a Private Key in with a Certificate to create a PFX.

To Create PFX from CRT File and Key file (as created above)

openssl pkcs12 –export –out certificate.pfx –inkey rsaprivate.key –in certificate.crt


Surprised at how often I do this.

Leave a Reply

Your email address will not be published. Required fields are marked *