ITCare24/7

 

 

Save

How to export cert and private key from PFX file

Extract file Private key and Cert from PFX file, this is command to do it:

Export the private key file from the pfx file

openssl pkcs12 -in filename.pfx -nocerts -out key.pem 

Export the certificate file from the pfx file

openssl pkcs12 -in filename.pfx -clcerts -nokeys -out cert.pem

Remove the passphrase from the private key

openssl rsa -in key.pem -out server.key

Source: https://www.networking4all.com/en/support/ssl+certificates/manuals/microsoft/all+windows+servers/export+private+key+or+certificate/

LATEST NEWS

FOLLOW US