Useful openssl cert management commands
Generate private-key pem from PKCS12 PFX (includes public key?)
openssl pkcs12 -in yourP12File.pfx -nocerts -out privateKey.pem
Cert, no private key:
openssl pkcs12 -in yourP12File.pfx -clcerts -nokeys -out publicCert.pem
(from https://stackoverflow.com/a/9516936/ )
print detail of unencrypted pem:
openssl x509 -in ./mine.pem -text -noout
last updated august 2018