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.
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