Skip to content

Instantly share code, notes, and snippets.

@cmpscabral
Created July 31, 2014 10:13
Show Gist options
  • Save cmpscabral/31de687da4729951a307 to your computer and use it in GitHub Desktop.
Save cmpscabral/31de687da4729951a307 to your computer and use it in GitHub Desktop.
convert pfx to cer
> openssl pkcs12 -in <cert.pfx> -out <cert.pem> -nodes
The command converts the data in the <cert.pfx> file to PEM format in the <cert.pem> file. The PEM file contains all of the certificates that were in the PFX file:
- Private key
- Identity certificate
- Root certificate
- Intermediate certificate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment