Skip to content

Instantly share code, notes, and snippets.

@drawcode
Forked from jmervine/cert_convert.sh
Created March 21, 2019 04:36
Show Gist options
  • Save drawcode/d6b5b904cb80f199bac5933c2c48ce11 to your computer and use it in GitHub Desktop.
Save drawcode/d6b5b904cb80f199bac5933c2c48ce11 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