Interview Prep/Networking/TLS and certificate errors

Through an ALB, clients see `ERR_SSL_PROTOCOL_ERROR` after you attached a new certificate.

IntermediateTroubleshootingTLS and certificate errors
Answer

Likely causes → The listener's security policy is too strict for clients, the new ACM cert is for a different name so SNI selects no match, or the cert in ACM is still PENDING_VALIDATION.

Diagnose →

aws acm describe-certificate --certificate-arn <arn> --query 'Certificate.[Status,DomainName,SubjectAlternativeNames]'
aws elbv2 describe-listeners --load-balancer-arn <lb> --query 'Listeners[].SslPolicy'
openssl s_client -connect lb-dns:443 -servername app.example.com

Fix → Validate the certificate (DNS CNAME), add it to the listener certificate list, and pick a policy like ELBSecurityPolicy-TLS13-1-2-2021-06.

Prevent → Use ACM DNS validation records in Terraform so renewals stay automatic.

All Networking questions Roadmap: Networking for DevOps

More on TLS and certificate errors