Skip to content

Instantly share code, notes, and snippets.

@ChengLong
Last active December 24, 2015 21:18
Show Gist options
  • Save ChengLong/6864111 to your computer and use it in GitHub Desktop.
Save ChengLong/6864111 to your computer and use it in GitHub Desktop.
Convert cer/p12 to pem

openssl x509 -inform der -in certificate.cer -out certificate.pem

openssl x509 -inform der -in certificate.p12 -out certificate.pem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment