OpenSSL Convert .p7b to .pem to .crt

From UNIX Systems Administration
Revision as of 18:48, 23 November 2015 by Michael Kohler (talk | contribs) (Michael Kohler moved page OpenSSL Convert .p7b to pem to crt to OpenSSL Convert .p7b to .pem to .crt without leaving a redirect)
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 <certificate>.pem -out <certificate>.crt

Further Reading

  1. OpenSSL: unable to load PKCS7 object
  2. SSL Converter