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

From UNIX Systems Administration
Jump to navigation Jump to search
(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...")
 
Line 8: Line 8:


== Further Reading ==
== Further Reading ==
# [http://www.experts-exchange.com/Programming/Q_27570065.html]
# [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]


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

Revision as of 17:45, 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. [1]