deantchi
6/19/2018 - 9:08 PM

pfx extra key and cert chain

takes in a pfx file and extracts certs and keys first command take in a pfx file and outputs unencrypted private key second command takes in a pfx file and outputs entire cert chain

openssl pkcs12 -in [filename].pfx -nocerts -out [desired filename].pem -nodes
openssl pkcs12 -in [filename].pfx -nokeys -out [desired filename].pem