Checking Subject Alternative Name (SAN) and Extensions

Check SAN Entries in a Certificate

To verify the Subject Alternative Name (SAN) entries in a certificate:

openssl x509 -in cert.pem -text -noout | grep -A1 "Subject Alternative Name"

Check Extensions in a Certificate

To check for extensions in a certificate:

openssl x509 -in cert.pem -text -noout | grep "X509v3"


  Last updated