Enable Post-Quantum TLS on AWS ALB & CloudFront (Terraform)
Finding / Symptom: AWS ALB or CloudFront endpoints negotiate classical X25519 or secp256r1 and allow TLS 1.2 downgrades.
Switch legacy ELBSecurityPolicy-2016-08 / TLS13-1-2 policies to AWS post-quantum TLS 1.3 policies on ALBs and CloudFront distributions.
Copy-Paste Configuration Fix
# Terraform: AWS Application Load Balancer HTTPS Listener with PQC Policy
resource "aws_lb_listener" "https" {
load_balancer_arn = aws_lb.main.arn
port = 443
protocol = "HTTPS"
ssl_policy = "ELBSecurityPolicy-TLS13-1-3-PQ-2025-09"
certificate_arn = aws_acm_certificate.main.arn
default_action {
type = "forward"
target_group_arn = aws_lb_target_group.app.arn
}
}
Verify Live
openssl s_client -connect api.yourdomain.com:443 -servername api.yourdomain.com -tls1_3 -groups X25519MLKEM768 </dev/null
Test your stack live: SSL / TLS 1.3 & Post-Quantum Checker
Frequently Asked Questions
- Will enabling AWS ALB PQ TLS policy break older browsers?
- No. Hybrid ML-KEM policies negotiate X25519MLKEM768 with modern Chrome, Firefox, Safari, and Edge clients while gracefully falling back to classical TLS 1.3 for older clients.