Diagnose a TLS certificate and handshake failure
8 steps · about 2 h 54 min · Intermediate
- Reproduce the handshake with SNI (reference, OpenSSL Documentation, 24 min)
Capture the endpoint's actual handshake, chain and alerts using the hostname the client sends.
- Inspect certificate identity and validity (reference, OpenSSL Documentation, 22 min)
Check subject alternatives, issuer, dates, key usage and fingerprints from the served certificate.
- Build and test the trust path (reference, OpenSSL Documentation, 24 min)
Verify leaf and intermediate certificates against the intended trust store and interpret the failing depth.
- Understand chain compatibility (guide, Let's Encrypt, 18 min)
Recognise why different client trust stores may accept different valid paths.
- Compare protocol and cipher support (reference, OpenSSL Documentation, 20 min)
Test a specific compatibility hypothesis without weakening the endpoint indiscriminately.
- Check revocation evidence deliberately (reference, OpenSSL Documentation, 20 min)
Inspect OCSP responses and stapling as one possible failure source, with their operational limits.
- Compare the endpoint with a modern baseline (guide, Mozilla Wiki, 24 min)
Use a maintained baseline to judge protocol and cipher choices after the immediate failure is understood.
- Document the verified failure layer (reference, IETF, 22 min)
Tie hostname verification and the observed evidence into a conclusion that separates TLS from DNS, clock and upstream application faults.