Skip to content

Instantly share code, notes, and snippets.

@kivanio
Forked from mergulhao/gist:6269789
Created August 25, 2014 22:22
Show Gist options
  • Save kivanio/13308bff6ed170f318ab to your computer and use it in GitHub Desktop.
Save kivanio/13308bff6ed170f318ab to your computer and use it in GitHub Desktop.
### pfx to pem, complete edition:
$ openssl pkcs12 -in filename.pfx -nocerts -out key.pem
$ openssl pkcs12 -in filename.pfx -clcerts -nokeys -out cert.pem
$ openssl pkcs12 -in filename.pfx -cacerts -out ca_cert.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment