Ask a Question

Advanced Search

Solution ID : SO6674

Last Modified : 05/02/2018

How to convert .pfx file to .pem format including private key


OpenSSL can be used to convert pfx files to pem files that includes the private key. Some Servers require this format.

To convert use the  command below:

openssl pkcs12 -in <pkcs-12-certificate-and-key-file> -out <pem-certificate-and-key-file> 

OpenSSL is included in most Linux releases, if you are using windows you can download a win32 version Here