OpenSSL Convert .p7b to .pem to .crt: Difference between revisions
Jump to navigation
Jump to search
m (Michael Kohler moved page OpenSSL Convert .p7b to pem to crt to OpenSSL Convert .p7b to .pem to .crt without leaving a redirect) |
No edit summary |
||
Line 1: | Line 1: | ||
== Convert .p7b to .pem == | == Convert .p7b to .pem == | ||
# Conversion from .p7b with DER encoding to | # Conversion from .p7b with DER encoding to PEM encoding | ||
## <tt>'''# openssl pkcs7 -inform der -in <certificate>.p7b -out <certificate>.pem'''</tt> | ## <tt>'''# openssl pkcs7 -inform der -in <certificate>.p7b -outform pem -out <certificate>.pem'''</tt> | ||
== Convert .pem to .crt == | == Convert .pem to .crt == |
Revision as of 15:27, 8 January 2016
Convert .p7b to .pem
- Conversion from .p7b with DER encoding to PEM encoding
- # openssl pkcs7 -inform der -in <certificate>.p7b -outform pem -out <certificate>.pem
Convert .pem to .crt
- Conversion from .pem with no encoding to .crt.
- # openssl pkcs7 -print_certs -in <certificate>.pem -out <certificate>.crt