openssl show certificate code example
Example 1: openssl view certificate
openssl x509 -in certificate.crt -text -noout
Example 2: openssl x509 certificate
openssl x509
openssl x509 -in certificate.crt -text -noout
openssl x509