Interview Prep/Networking/TLS and certificate errors

Everything broke at once for clients on old Android/OpenSSL versions after a CA root expired.

AdvancedTroubleshootingTLS and certificate errors
Answer

Likely causes → Your chain depends on a cross-signed or expired root that those clients still try to build a path to (the 2021 Let's Encrypt DST Root CA X3 expiry is the classic case). OpenSSL 1.0.x fails if any path ends at an expired root.

Diagnose →

openssl s_client -connect host:443 -servername host -showcerts </dev/null | grep -E 's:|i:'
openssl version     # on the failing client

Fix → Serve a chain that ends at a root the clients have, update client CA bundles (ca-certificates package), or remove the expired root from client trust stores.

Prevent → Track CA announcements; test with old clients in a compatibility matrix.

All Networking questions Roadmap: Networking for DevOps

More on TLS and certificate errors