openssl check certificate code example
Example 1: openssl view certificate
openssl x509 -in certificate.crt -text -noout
Example 2: openssl list certificate chain
# List all certificates in CHAINED.pem
openssl crl2pkcs7 -nocrl -certfile CHAINED.pem | openssl pkcs7 -print_certs -text -noout
Example 3: openssl x509 certificate
openssl x509