2.3. Read a Certificate Using OpenSSL

To print information about a given certificate to the console, execute the command below, replacing CA_CERT with the filename of a given CA certificate (e.g., Acme_Incorporated_Cert.pem).

CA_CERT='CA_CERT'

openssl \
    x509 \
    -text \
    -noout \
    -in "${CA_CERT}"