Howto convert a PFX to a seperate .key/.crt file | MarkBrilman.nl

Howto convert a PFX to a seperate .key/.crt file | MarkBrilman.nl.

openssl pkcs12 -in «yourfile.pfx» -nocerts -out «keyfile-encrypted.enc»
openssl pkcs12 -in «yourfile.pfx» -clcerts -nokeys -out «certificate.crt»
openssl rsa -in «keyfile-encrypted.enc» -out «keyfile-decrypted.key»

Bookmark the permalink.

Comments are closed