Skip to content

Instantly share code, notes, and snippets.

@thonixx
Last active August 29, 2015 14:14
Show Gist options
  • Save thonixx/8394cfbbc8a3b61509b6 to your computer and use it in GitHub Desktop.
Save thonixx/8394cfbbc8a3b61509b6 to your computer and use it in GitHub Desktop.
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