Migration guide

Enable hybrid post-quantum key exchange on an AWS Network Load Balancer

Set a TLS listener policy that offers hybrid ML-KEM key exchange and allows classical key exchange for compatible clients. Use the access log to check which group an individual connection negotiated.

Documentation only Last reviewed 2026-12-05

How this guide was validated. Drafted from the cited sources and not run here: written by the automated editorial routine on 2026-12-05; quoted passages were checked against those pages that day.

Applies to

  • AWS Network Load Balancer with an existing TLS listener. The selected policy supports TLS 1.3 and TLS 1.2.

Before you start

  • A TLS listener with a server certificate and permission to edit the listener in the Amazon EC2 console.
  • For connection verification, access logging must be enabled and you must be able to read the logs. To observe hybrid key exchange, you need traffic from a client that supports a compatible hybrid ML-KEM group.

Steps

  1. Record the current security policy
    In the Amazon EC2 console, open Load Balancers and select your Network Load Balancer. On the Listeners and rules tab, select the TLS listener by its protocol and port. Under Actions, choose Edit listener. In Secure listener settings, record the current Security policy for rollback.
  2. Select the hybrid TLS policy
    Under Security policy, select ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09 and choose Save changes.

Verify

  1. Confirm the listener policy
    Reopen the same listener's settings and read the Security policy field.

    Expect: The field shows ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09.

  2. Check the key exchange for one connection
    Find an access log entry for a connection to that listener that started after the change. Read the tls_keyexchange field.

    Expect: A hybrid group such as X25519MLKEM768 confirms hybrid key exchange for that connection. A dash (-) means the log recorded no key exchange value. A successful TLS 1.2 connection can also show a dash.

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 recorded policy
    Edit the same TLS listener, select the security policy you recorded and choose Save changes. Reopen the settings to confirm the restored value.

What this guide does not cover

  • Clients can negotiate classical key exchange under this policy.
  • The log entry describes the client-to-listener connection. A TLS connection from the load balancer to a target has its own handshake.
  • The key exchange field gives no information about whether the server certificate or its signature uses a post-quantum algorithm.

Sources

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