Decoding OpenSSL Files
We'd like to view OpenSSL files as text, but they're often encoded. Here's how to view certificates, keys, and certificate requests.
Decode a certificate:
openssl x509 -text -in <cert-file>
Decode a key:
openssl rsa -text -in <key-file>
Decode a certificate request:
openssl asn1parse -in <csr-file>