Diagnose a TLS certificate and handshake failure

8 steps · about 2 h 54 min · Intermediate

  1. 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.

  2. Inspect certificate identity and validity (reference, OpenSSL Documentation, 22 min)

    Check subject alternatives, issuer, dates, key usage and fingerprints from the served certificate.

  3. 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.

  4. Understand chain compatibility (guide, Let's Encrypt, 18 min)

    Recognise why different client trust stores may accept different valid paths.

  5. Compare protocol and cipher support (reference, OpenSSL Documentation, 20 min)

    Test a specific compatibility hypothesis without weakening the endpoint indiscriminately.

  6. Check revocation evidence deliberately (reference, OpenSSL Documentation, 20 min)

    Inspect OCSP responses and stapling as one possible failure source, with their operational limits.

  7. 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.

  8. 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.