This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
misc:ssl_certificate [2023/11/17 17:38] manu [Convert PFX to PKCS#8] |
misc:ssl_certificate [2023/11/17 17:44] (current) manu [View contents of PEM certificate file] |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| If your server/device requires a different certificate format other than Base64 encoded X.509, a third party tool such as OpenSSL can be used to convert the certificates into the appropriate format. | If your server/device requires a different certificate format other than Base64 encoded X.509, a third party tool such as OpenSSL can be used to convert the certificates into the appropriate format. | ||
| + | ===== View contents of certificate file ===== | ||
| + | |||
| + | PEM file: | ||
| + | <cli prompt='#'> | ||
| + | # openssl x509 -in CERTIFICATE.pem -text -noout | ||
| + | </cli> | ||
| + | |||
| + | DER file: | ||
| + | <cli prompt='#'> | ||
| + | # openssl x509 -inform der -in CERTIFICATE.der -text -noout | ||
| + | </cli> | ||
| ===== Some common conversion commands are listed below: ===== | ===== Some common conversion commands are listed below: ===== | ||