Kexwatch

Fix guides

Enable post-quantum key exchange on AWS

What you need to do depends on which AWS service your visitors connect to. CloudFront already offers hybrid post-quantum key exchange. Load balancers need you to pick a new security policy.

Based on AWS's documentation as of December 2026. After any change, run the Kexwatch check to confirm.

1. Find what answers your domain

Look at your DNS record for the domain:

Record points toService
*.cloudfront.netCloudFront, step 2
*.elb.amazonaws.comLoad balancer, step 3
An EC2 addressYour own server, step 4

Elastic Beanstalk environments usually sit behind an Application Load Balancer, so use step 3.

2. CloudFront

AWS says connections from visitors to CloudFront prefer hybrid post-quantum key exchange with no action needed. If your check still fails, make sure the domain really points at CloudFront and not straight at your origin.

The link from CloudFront to your origin server is separate. AWS lists post-quantum support for that link as coming soon.

3. Application or Network Load Balancer

Load balancers only offer hybrid key exchange if the listener uses a security policy with PQ in its name. AWS recommends:

ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09

It still accepts TLS 1.2 clients. To change it in the console: EC2, Load Balancers, choose the load balancer, open the HTTPS (or TLS) listener, choose Edit, and pick the policy above.

With the AWS CLI:

aws elbv2 modify-listener --listener-arn YOUR-LISTENER-ARN \
  --ssl-policy ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09

Watch out for infrastructure code. New listeners made in the console get a PQ policy, but the CLI, CloudFormation and CDK still default to the classical ELBSecurityPolicy-2016-08. Set the policy explicitly in your templates, or the next deploy will undo your change.

4. Your own server on EC2

AWS does not handle TLS here. Follow the guide for the software on the server: nginx, Apache, Caddy, HAProxy, Traefik or IIS.

5. API Gateway

AWS lists post-quantum TLS policies for API Gateway as coming soon. Run the check on your API's domain to see what it offers today.

6. Check the result

Run the free check again. A pass means visitors negotiate hybrid post-quantum key exchange with AWS. It does not cover the link from AWS to your own servers.