Answers for "how to extract key and cert from pfx"

1

how to extract key and cert from pfx

# enter password and pass phrase used to encrypt when prompted
openssl pkcs12 -in [yourfile.pfx] -nocerts -out [cert_encr.key]
openssl pkcs12 -in [yourfile.pfx] -clcerts -nokeys -out [cert.crt]
# decrypt the key file
openssl rsa -in [cert_encr.key] -out [cert.key]
Posted by: Guest on July-06-2021

Code answers related to "how to extract key and cert from pfx"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language