OpenSSL x509 Certificate Utilities: Difference between revisions
Jump to navigation
Jump to search
(Created page with "== x509 PEM-formatted Information == * Extension(s) .pem, .crt, .cer * PEM encoded certificate is a file format for storing X.509 certificates. It is one of many PEM formats....") |
No edit summary |
||
Line 10: | Line 10: | ||
## <tt>'''# openssl x509 -in <certificate-x509-pem>.crt -outform der -out <certificate-x509-der>.crt'''</tt> | ## <tt>'''# openssl x509 -in <certificate-x509-pem>.crt -outform der -out <certificate-x509-der>.crt'''</tt> | ||
== x509 DER-formatted Information | == x509 DER-formatted Information == | ||
* Extension(s) .der, .crt, .cer | * Extension(s) .der, .crt, .cer | ||
* DER encoded certificate is a file format for storing an X.509 certificate. | * DER encoded certificate is a file format for storing an X.509 certificate. |
Latest revision as of 20:55, 8 January 2016
x509 PEM-formatted Information
- Extension(s) .pem, .crt, .cer
- PEM encoded certificate is a file format for storing X.509 certificates. It is one of many PEM formats.
- A PEM encoded certificate file is plain text. It contains one or more pairs of "-----BEGIN CERTIFICATE-----" and "-----END CERTIFICATE-----" lines, with base64-encoded data between them.
x509 PEM-formatted Commands
- View the contents of an x509 PEM-formatted certificate.
- # openssl x509 -noout -text -in <certificate-pem>.crt
- Convert from an x509 PEM-formatted certificate format to an x509 DER-formatted certificate.
- # openssl x509 -in <certificate-x509-pem>.crt -outform der -out <certificate-x509-der>.crt
x509 DER-formatted Information
- Extension(s) .der, .crt, .cer
- DER encoded certificate is a file format for storing an X.509 certificate.
x509 DER-formatted Commands
- View the contents of an x509 DER-formatted certificate.
- # openssl x509 -noout -text -inform der -in <certificate-der>.crt
- Convert from an x509 DER-formatted certificate format to an x509 PEM-formatted certificate.
- # openssl x509 -in <certificate-der>.crt -inform der -outform pem -out <certificate-pem>.crt