Post-quantum TLS on AWS: Application Load Balancer, NLB and CloudFront
Updated:
Scan your site now, free
In our hosting tracker, only about 7% of top-10,000 sites on AWS's EC2 network (AS14618) negotiate post-quantum key exchange, against about 61% on AS16509, where CloudFront and the load balancers live. On AWS the answer depends on which endpoint terminates TLS and how it was created.
CloudFront: already on
For connections between browsers and CloudFront, AWS lists X25519MLKEM768 and SecP256r1MLKEM768 as supported quantum-safe key exchanges. There is nothing to configure. Two limits: hybrid key exchange works only over TLS 1.3, and it covers the viewer connection, not the separate connection from CloudFront to your origin.
Application and Network Load Balancers: choose a PQ policy
ELB security policies with PQ in their name offer hybrid post-quantum key exchange (X25519MLKEM768, SecP256r1MLKEM768, SecP384r1MLKEM1024) alongside the classical groups, so older clients keep working. AWS recommends:
ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09 # TLS 1.3 + 1.2, hybrid PQ ELBSecurityPolicy-TLS13-1-2-Res-FIPS-PQ-2025-09 # same, FIPS
The trap: the console now defaults to the PQ policy, but listeners created with the AWS CLI, CloudFormation or the CDK still default to ELBSecurityPolicy-2016-08, which has no post-quantum key exchange. Infrastructure-as-code setups are therefore usually classical until you set the policy explicitly.
AWS CLI:
aws elbv2 modify-listener \ --listener-arn arn:aws:elasticloadbalancing:...:listener/app/my-alb/... \ --ssl-policy ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09
Terraform:
resource "aws_lb_listener" "https" {
# ...
protocol = "HTTPS"
ssl_policy = "ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09"
}
Application Load Balancers do not support custom security policies, so pick one of the predefined PQ policies.
EC2 instances and containers: it is your OpenSSL
If TLS ends on the instance itself (nginx, Apache, Node.js, Java), AWS has no say: the server software and its TLS library decide. Ubuntu 22.04 and 24.04 ship OpenSSL 3.0, which cannot negotiate ML-KEM. Either upgrade to a stack with OpenSSL 3.5 (see the nginx guide) or put a PQ-enabled ALB or CloudFront in front.
Verify
openssl s_client -connect example.com:443 -groups X25519MLKEM768 </dev/null 2>/dev/null | grep -i group
This needs an OpenSSL 3.5 client. Or run the free scan; grade A means TLS 1.3 with a hybrid post-quantum key exchange. ALB connection logs also record the negotiated key exchange (log field 13).
Sources: AWS documentation "Security policies for your Application Load Balancer" and "Supported protocols and ciphers between viewers and CloudFront", checked 2026-11-09.