OpenSSL Convert .p7b to .pem to .crt

From UNIX Systems Administration
Revision as of 17:44, 4 November 2015 by Michael Kohler (talk | contribs) (Created page with "== Convert .p7b to .pem == # Conversion from .p7b with DER encoding to .pem. ## <tt>'''# openssl pkcs7 -inform der -in <certificate>.p7b -out <certificate>.pem'''</tt> == Con...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Convert .p7b to .pem

  1. Conversion from .p7b with DER encoding to .pem.
    1. # openssl pkcs7 -inform der -in <certificate>.p7b -out <certificate>.pem

Convert .pem to .crt

  1. Conversion from .pem with no encoding to .crt.
    1. #openssl pkcs7 -print_certs -in srvcctrain01.pem -out srvcctrain01.crt

Further Reading

  1. [1]
  2. [2]