Skip to content

Instantly share code, notes, and snippets.

@voquanghoa
Forked from jmervine/cert_convert.sh
Created July 11, 2016 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save voquanghoa/1dd49ce10ad41418bd8fec6e3e495185 to your computer and use it in GitHub Desktop.
Save voquanghoa/1dd49ce10ad41418bd8fec6e3e495185 to your computer and use it in GitHub Desktop.
openssl: convert cert from p7b to crt (or cer)
openssl pkcs7 -print_certs -in old.p7b -out new.crt
# openssl pkcs7 -print_certs -in old.p7b -out new.cer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment