Check SSL/TLS certificates, expiry dates, and chain validation
openssl s_client -connect example.com:443 -servername example.com
1. Using OpenSSL (Command Line):
# Check certificate
openssl s_client -connect example.com:443 -servername example.com
# Show expiry date
echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | openssl x509 -noout -dates
# Show full chain
openssl s_client -connect example.com:443 -servername example.com -showcerts
2. Using Browser DevTools:
3. Using curl:
curl -vI https://example.com 2>&1 | grep -A 10 "SSL connection"
These tools provide comprehensive SSL/TLS analysis: