How To Convert a PEM File to PFX?

Convert PEM to PFX

Install the latest Open SSL.

Copy the PEM file to the OpenSSL binary folder, such as C:\Program Files\OpenSSL-Win64\bin

  • Open an administrative command prompt  to that folder

.\openssl pkcs12 -export -out result.pfx -inkey mypemfile.pem -in mypemfile.pem

You will be prompted for a PFX password as part of the process.

Was this answer helpful?

« Back