OpenSSL Convert .p7b to .pem to .crt: Difference between revisions

From UNIX Systems Administration
Jump to navigation Jump to search
No edit summary
Line 9: Line 9:
== Further Reading ==
== Further Reading ==
# [http://www.experts-exchange.com/Programming/Q_27570065.html OpenSSL: unable to load PKCS7 object]
# [http://www.experts-exchange.com/Programming/Q_27570065.html OpenSSL: unable to load PKCS7 object]
# [https://www.sslshopper.com/ssl-converter.html]
# [https://www.sslshopper.com/ssl-converter.html SSL Converter]


[[Category:Software]]
[[Category:Software]]
[[Category:SSL]]
[[Category:SSL]]

Revision as of 17:46, 4 November 2015

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. OpenSSL: unable to load PKCS7 object
  2. SSL Converter