Full certificate inspect openssl
Dump all cert fields: subject, issuer, validity, extensions, SANs, key usage
openssl x509 -in cert.pem -noout -text
more openssl
all 27 commands →
Cert expiry check (CI gate)
openssl x509 -in cert.pem -noout -checkend 86400 && echo OK || echo EXPIRING
Inspect live server chain
openssl s_client -connect <host>:443 -servername <host> -showcerts </dev/null 2>/dev/null
Extract SAN list
openssl x509 -in cert.pem -noout -ext subjectAltName
Verify cert against CA chain
openssl verify -CAfile ca-chain.pem cert.pem
Match cert and private key
diff <(openssl x509 -in cert.pem -noout -modulus | md5sum) <(openssl rsa -in key.pem -noout -modulus | md5sum)