Interview Prep/Real-World Interview/DNS, TLS and certificates

After switching the ALB to a TLS 1.3-only security policy, a chunk of traffic fails with "ERR_SSL_VERSION_OR_CIPHER_MISMATCH" or "handshake failure".

IntermediateTroubleshootingDNS, TLS and certificates
Answer

Likely causes → Some clients only speak TLS 1.2 (older Android, Java 8 integrations, embedded devices, partner systems). With no protocol or cipher in common, the handshake fails before HTTP.

Diagnose →

openssl s_client -connect app.example.com:443 -tls1_2 </dev/null 2>&1 | grep -E 'Protocol|alert'
aws elbv2 describe-listeners --load-balancer-arn $ALB --query 'Listeners[].SslPolicy'

ALB access logs record ssl_protocol and ssl_cipher; count TLS 1.2 traffic before the change.

Fix → Roll back to a policy that allows TLS 1.2 with strong ciphers, such as ELBSecurityPolicy-TLS13-1-2-2021-06.

Prevent → Before tightening TLS, measure client protocol usage from access logs, contact the heavy legacy callers, and change policy behind a separate listener or hostname first.

All Real-World Interview questions Roadmap: Interview readiness

More on DNS, TLS and certificates