Skip to content

Instantly share code, notes, and snippets.

@batisteo
Last active November 20, 2018 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save batisteo/f929f4a20f33fc4cc436f720eee926d7 to your computer and use it in GitHub Desktop.
Save batisteo/f929f4a20f33fc4cc436f720eee926d7 to your computer and use it in GitHub Desktop.
Convert PKCS12 (.p12) into key and crt
openssl pkcs12 -in container.p12 -nocerts -nodes -out filename.key
openssl pkcs12 -in container.p12 -clcerts -nokeys -nodes -out filename.crt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment