Extract contents of pfx bundle with Openssl

Posted . Visible to the public.

This card is the copycat from this awesome article Show archive.org snapshot , all thanks to Zsolt Agoston.

# Extract the private key
openssl pkcs12 -in wild.pfx -nocerts -nodes -out priv.cer
 
# Extract the public key
openssl pkcs12 -in wild.pfx -clcerts -nokeys -out pub.cer
 
# Extract the CA cert chain
openssl pkcs12 -in wild.pfx -cacerts -nokeys -chain -out ca.cer
konjoot
Last edit
konjoot
Posted by konjoot to wiki (2020-09-13 13:37)