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.
More on TLS and certificate errors
`curl: (60) SSL certificate problem: certificate has expired`Beginner`curl: (60) SSL certificate problem: unable to get local issuer certificate`Beginner`SSL: no alternative certificate subject name matches target host name 'api.example.com'`BeginnerSome clients get the wrong certificate (another site's) from a shared IP.Intermediate`SSL routines::sslv3 alert handshake failure` from `openssl` or curl.IntermediatePython `requests` fails with `SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain`.Beginner