Skip to content

Instantly share code, notes, and snippets.

@melvinlee
Created April 11, 2026 15:16
Show Gist options
  • Select an option

  • Save melvinlee/c5ba2d67440f333892810ca1300370d2 to your computer and use it in GitHub Desktop.

Select an option

Save melvinlee/c5ba2d67440f333892810ca1300370d2 to your computer and use it in GitHub Desktop.
Look it up yourself — 3 ways
1. crt.sh (Certificate Transparency logs)
https://crt.sh/?q=cust001.api.standardchartered.com
This will show all certs ever issued for that hostname, including issuer, validity dates, SANs, and CT log timestamps.
2. OpenSSL from your workstation
bashecho | openssl s_client \
-connect <domain>:443 \
-servername <domain> 2>/dev/null \
| openssl x509 -noout -text
This gives you the full cert — subject, issuer, SANs, validity period, key algorithm, and signature.
3. Quick summary (just expiry + issuer)
bashecho | openssl s_client \
-connect <domain>:443 \
-servername <domain> 2>/dev/null \
| openssl x509 -noout \
-subject -issuer -dates -fingerprint -ext subjectAltName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment