How to enable post-quantum TLS on your server
A server needs two things: TLS 1.3, and a TLS library that knows the hybrid group X25519MLKEM768. With both in place most servers accept it without any configuration.
Pick your platform
Why a site fails the test
Almost every site that is not ready falls into one of three cases:
- The TLS library is too old. OpenSSL added ML-KEM and the hybrid groups in version 3.5 (April 2025). Anything linked against OpenSSL 3.0 to 3.4 cannot offer them, whatever you configure.
- A curve list is pinned. A line such as
ssl_ecdh_curve X25519:prime256v1;, often copied from a hardening guide years ago, replaces the library’s defaults and removes the post-quantum group with them. - Something in front decides. If a load balancer or CDN terminates TLS, its policy is what visitors negotiate with, and your web server’s settings are never seen.
Sites still limited to TLS 1.2 have a fourth problem: ML-KEM key exchange only exists in TLS 1.3, so that upgrade comes first.
Which systems ship OpenSSL 3.5 or newer
Run openssl version on the server. Distribution packages of nginx and Apache use the system library, so this is usually the answer for them too.
| System | OpenSSL | Hybrid ML-KEM |
|---|---|---|
| Ubuntu 26.04 LTS | 3.5 | On by default |
| Ubuntu 24.04 LTS, 22.04 LTS | 3.0 | Not available |
| Debian 13 (trixie) | 3.5 | On by default |
| Debian 12 (bookworm) | 3.0 | Not available |
| RHEL 10.1 and later | 3.5 | On by default |
| RHEL 9.7 and later | 3.5 | Opt in with update-crypto-policies --set DEFAULT:PQ |
| Amazon Linux 2023 (current releases) | 3.5 | Opt in with update-crypto-policies --set DEFAULT:PQ |
| Alpine 3.22 and later | 3.5 | On by default |
On a system with OpenSSL 3.0 the realistic options are to upgrade the operating system, run the web server from a current container image, or put a CDN or load balancer that supports it in front.
Other platforms
What each vendor documents, with a link to check the current state:
- Caddy: on by default since version 2.10.
- Google Cloud load balancers: on by default between clients and Application Load Balancers.
- Azure Front Door: the default key exchange policy includes X25519MLKEM768.
- Vercel: on for all deployments.
- Fastly: automatic for TLS 1.3 customers.
- Akamai: on by default on the Enhanced TLS network.
- HAProxy: set
ssl-default-bind-curves; support depends on the TLS library the build uses. See HAProxy’s guide. - Windows Server and IIS: the hybrid groups exist in recent Windows TLS but are not enabled by default.
These are the vendors’ own statements, not results from this registry. The quickest way to know what your site does is to test it.
Check that it worked
Test the site here. The registry offers only post-quantum key exchange, so a pass means the server accepted it.
Try , , ,
Or from a terminal, with OpenSSL 3.5 or newer on your own machine (the openssl that ships with macOS is LibreSSL and won’t work):
openssl s_client -connect example.com:443 -servername example.com \
-groups X25519MLKEM768 </dev/null 2>&1 | grep "Negotiated TLS1.3 group"A ready server prints Negotiated TLS1.3 group: X25519MLKEM768. One that isn’t ends the handshake with alert handshake failure.
Sources
- OpenSSL 3.5 release notes
- Red Hat: post-quantum cryptography in RHEL
- AWS: post-quantum crypto policies on Amazon Linux 2023
- Debian package tracker: openssl
- Ubuntu packages: openssl
Last reviewed 4 December 2026.