Skip to content

Instantly share code, notes, and snippets.

@blfpd
Last active November 20, 2018 13:29
Show Gist options
  • Save blfpd/f929f4a20f33fc4cc436f720eee926d7 to your computer and use it in GitHub Desktop.
Save blfpd/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