Created
November 17, 2014 21:57
-
-
Save jmervine/e4c9af3adb14b78856cc to your computer and use it in GitHub Desktop.
openssl: convert cert from p7b to crt (or cer)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openssl pkcs7 -print_certs -in old.p7b -out new.crt | |
# openssl pkcs7 -print_certs -in old.p7b -out new.cer |
thank you
Saved my life too !
Thanks, but how to output to file ONLY the certificate?
I got some trailing lines in my case
subject=C = US, O = DigiCert Inc, OU = www.digicert.com, CN = DigiCert Global Root G2
issuer=C = US, O = DigiCert Inc, OU = www.digicert.com, CN = DigiCert Global Root G2
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks!