Migration guide

Post-quantum key exchange on AWS: Application Load Balancer and CloudFront

CloudFront offers hybrid post-quantum key exchange to viewers on every security policy by default. An Application Load Balancer needs a listener security policy with PQ in its name, for example ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09. Our check sees the CloudFront edge or the load balancer listener, not your origin or targets.

Documentation only Last reviewed 2026-12-04

How this guide was validated. Drafted from the AWS documentation for ALB security policies and connection logs, the CloudFront viewer and origin cipher pages, and the AWS What's New posts for ALB/NLB (November 21, 2025) and CloudFront (September 5, 2025). Not run in an AWS account here.

Applies to

  • Amazon CloudFront distributions (viewer to edge)
  • Application Load Balancer HTTPS listeners (and Network Load Balancer TLS listeners)

Before you start

  • Permission to change the listener's security policy (ALB) or view the distribution's security policy (CloudFront).
  • Note the current policy name so you can roll back.

Steps

  1. CloudFront: nothing to change for viewers
    AWS says hybrid post-quantum key establishment is available on all existing CloudFront TLS security policies by default for client-to-edge connections, with no configuration. AWS lists TLS 1.3 on every viewer security policy, and the hybrid groups it lists for viewers, X25519MLKEM768 and SecP256r1MLKEM768, are used on TLS 1.3 connections only.
  2. ALB: pick a PQ security policy
    Edit the HTTPS listener's security policy. AWS recommends ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09, or ELBSecurityPolicy-TLS13-1-2-Res-FIPS-PQ-2025-09 if you need FIPS; both keep TLS 1.2 for older clients. Policies with PQ in the name offer X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024 on TLS 1.3 connections. AWS does not change existing listeners for you: each ALB HTTPS listener or NLB TLS listener has to be updated.
    aws elbv2 modify-listener --listener-arn <listener-arn> --ssl-policy ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09

    Expect: The listener shows the new policy.

  3. Know the default trap
    AWS documents that HTTPS listeners created in the console default to ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09, but listeners created with the AWS CLI, CloudFormation or the CDK default to ELBSecurityPolicy-2016-08 unless a policy is set. That policy has no TLS 1.3 at all, so our TLS 1.3 check reports Could not check for such a listener, not Not post-quantum.

Verify

  1. Check ALB connection logs
    ALB connection logs record the TLS protocol version (field 5, tls_protocol) and the key exchange used in the handshake (field 13, tls_keyexchange) for each connection, so you can see how many clients use a hybrid group.

Verify with our check

Run the public checker on your hostname at postquantumverified.com. It opens one TLS 1.3 handshake on port 443 and shows Verified (the server selected the hybrid group X25519MLKEM768), Not post-quantum (it selected a classical group) or Could not check. Each check gets a dated record at /verify/{hostname} that anyone can open again. If the result is not Verified, see Why did my check say Not post-quantum? and Why did my check say Could not check?.

The checker tests the public HTTPS endpoint on port 443 of the exact hostname you enter. Mail (SMTP, IMAP) and other ports are not covered by it.

Roll back

  1. Restore the previous ALB policy
    Set the listener back to the policy name you noted.
    aws elbv2 modify-listener --listener-arn <listener-arn> --ssl-policy <previous-policy>

What this guide does not cover

  • A client that connects with TLS 1.2 uses a classical key exchange even on a PQ policy.
  • Our check, like any visitor, sees only the CloudFront edge or the load balancer listener. A Verified result for such a hostname says nothing about the connection behind it.
  • CloudFront to origin is a separate connection. AWS's CloudFront-to-origin cipher page (read 2026-12-04) lists only the classical curves prime256v1, secp384r1 and X25519 and no ML-KEM group.
  • ALB to targets: you cannot choose the backend policy; AWS sets it from the listener policy. With a post-quantum listener policy, backend connections use ELBSecurityPolicy-TLS13-1-0-PQ-2025-09. Whether a hybrid group is used on that leg also depends on your targets, and our check cannot see it.
  • A key-exchange result says nothing about certificate signatures.

Sources

Only change systems you own or are authorized to change. Have a person approve each change and keep a rollback.