qsafe.sh
Scan
Theme

Fix guides

How to enable post-quantum TLS on AWS Application/Network Load Balancer

Checked · Official docs

Supported since November 2025, but opt-in: the listener needs a PQ security policy.

AWS Application/Network Load Balancer terminates TLS for your visitors, so the key exchange they get is decided by AWS Application/Network Load Balancer, not by your origin server. Change it here first; your origin only matters for the hop from AWS Application/Network Load Balancer back to it. The hybrid falls back to classical X25519 for clients that don't support it, so turning it on doesn't break older browsers.

Turn on post-quantum key exchange

Switch the HTTPS listener to a post-quantum security policy. AWS recommends this one:

AWS CLI, or Listener → Edit → Security policy in the console
aws elbv2 modify-listener --listener-arn <listener-arn> \
  --ssl-policy ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09

Prefer post-quantum over classical

Use ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09 on the listener.

Enable TLS 1.3

Use a TLS13 security policy such as ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09.

Turn off TLS 1.0 and 1.1

Use ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09, which also turns off TLS 1.0 and 1.1.

Use strong TLS 1.2 cipher suites

Use ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09, which only allows strong TLS 1.2 suites.

Redirect HTTP to HTTPS

Add a port 80 listener whose default action redirects to HTTPS, port 443, status HTTP_301.

Send HSTS

Load balancers don't add response headers. Send this header from your application or put CloudFront in front:

Strict-Transport-Security: max-age=31536000; includeSubDomains

Check that it worked

After you deploy, rescan your domain. A quantum-safe setup shows X25519MLKEM768 as the negotiated key exchange. From a terminal:

curl qsafe.sh/your-domain.com?fresh

Prefer to let an AI agent make the change? The qsafe-fix skill and the MCP server use this same guide. It's also available as JSON from /api/v1/fixes/aws-alb.

Esc