IBM Support

How can I convert a PFX file to a PEM file to use for SSL on my PCA?

Question & Answer


Question

How can I convert a PFX file to a PEM file to use for SSL on my PCA?

Answer

Several tools are available for creating Pem files from Pfx.

Most commonly OpenSSL is used:

openssl pkcs12 -nodes -nocerts -in key-file.pfx -out key-file.pem

When prompted for the import password enter the password you used when exporting the certificate to a PFX file.

To validate the resulting file use this command:

openssl rsa -check -noout -in key-file.pem

When you are done the PEM should be in a format that looks like this:

-----BEGIN RSA PRIVATE KEY-----

binary key information here...not human readable

-----END RSA PRIVATE KEY-----

"

[{"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Product":{"code":"SSERNK","label":"Tealeaf Customer Experience"},"Component":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
08 December 2018

UID

ibm10777865