SSL/TLS Debugging

Common issues.

Certificate issues

Most TLS production failures are certificate failures. Expiry, wrong domain, broken chain; three categories cover almost all incidents and each has a one-line diagnostic.

Handshake failures

Handshake failures are negotiation failures: cipher suite, protocol, SNI. Modern clients and modern servers usually agree; legacy stacks fight.

Performance issues

TLS adds latency; session resumption, OCSP stapling, and TLS 1.3 claw most of it back. Without the optimisations, every connection pays the full handshake cost.

Debugging tools

The standard tools cover most TLS investigation. Reach for openssl first; escalate to packet-level only when the handshake itself is the mystery.