LinuxExport Private Key and Public Key From a PFX certificateOn this pageExport Private Key and Public Key From a PFX certificate1. Export the Private Keyopenssl pkcs12 -in tls.pfx -nocerts -out tls.key -nodes2. Export the Public Keyopenssl pkcs12 -in tls.pfx -nokeys -out tls.crt