How to convert SSL certificates from .pfx to .pem format

Created:

2016-11-16 13:19:44 UTC

Modified:

2017-08-16 16:18:25 UTC

0

Was this article helpful?


Have more questions?

Submit a request

How to convert SSL certificates from .pfx to .pem format

Applicable to:

  • Plesk 9.x for Windows
  • Plesk for Linux
  • Plesk 11.x for Windows
  • Plesk 12.0 for Windows
  • Plesk 12.5 for Windows

Question

How to convert SSL certificates from .pfx to .pem format?

Answer

Go to the command prompt, change directory to the one where the certificate is located, execute openssl command:

Windows:

    "%plesk_bin%\\openssl.exe" pkcs12 -in cert.pfx -out cert2.pem -nodes

Linux:

    openssl pkcs12 -in cert.pfx -out cert2.pem -nodes

(replacing cert.pfx with the actual name of the certificate file).

Additional information

Converting SSL certificates from .cer to .pem format

Have more questions? Submit a request
Please sign in to leave a comment.