Export Private Key and Public Key From a PFX File Using OpenSSL

Export Private Key

openssl pkcs12 -in zone.pfx -nocerts -out zone.key -nodes

Export Public Key

openssl pkcs12 -in zone.pfx -nokeys -out zone.crt
Last updated on by Yasitha Bogamuwa