Analyze SSL/TLS certificates for any domain to verify security configuration and monitor expiration.
# Check certificate for a domain
openssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null | openssl x509 -noout -dates -subject -issuer
# Get detailed certificate information
echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | openssl x509 -noout -text
共 1 个版本