Skip to main content

HowTo Retrieve Key and Cert from PFX

Here’s a good article on how to export SSL certificates, extract the key and certificate, and import it into AWS.

How To Convert Windows PFX Certificate Files Into PEM Format On Linux

The above article uses openSSL, which can be found for Windows, here:

Win32/Win64 OpenSSL Installer for Windows - Shining Light Productions

As well, the above article has an error in Step 4, that removes the password from the key.pem to create the raw private key file.

That command should be:

openssl rsa -in key.pem -out server.key