Skip to content

Instantly share code, notes, and snippets.

@jdcarvalho
Forked from jmervine/cert_convert.sh
Created February 19, 2024 23:45
Show Gist options
  • Save jdcarvalho/25397b7f29d00b89cdca5e6365c269d4 to your computer and use it in GitHub Desktop.
Save jdcarvalho/25397b7f29d00b89cdca5e6365c269d4 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