Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
PFX to PEM cert and key
# crt
openssl pkcs12 -in $file -out zertifikat.crt -clcerts -nokeys
# key
openssl pkcs12 -in $file -out schluessel.key -nocerts -nodes
# ca certs
openssl pkcs12 -in $file -out chain.crt-cacerts -nokeys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment