How to export private key from PFX
97
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 16:09 PM
Objective
Follow KB 000007752 on How to create a CA Web Certificate.
Such products such as HTML5 Gateway require you to have the key/pem file from the Certificate.
Following the steps below to export from a .pfx file.
Environment
10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2;11.3
Procedure
Export the key/pem in to a separate file from the .pfx
a. Install OpenSSL or this should be preinstalled if using CentOS / Ubuntu.
b. Using OpenSSL run the following:
i. Extract Private Key from PFX using the following command:
openssl pkcs12 -in "C:\Certificates\html5gateway.pfx" -nocerts -out C:\Certificates\html5gateway-key.pem -nodes