Guides › How to check if your server supports post-quantum TLS
How to check if your server supports post-quantum TLS
Updated 2026-12-05
A server is "post-quantum ready" for TLS when it agrees to a hybrid post-quantum key exchange, today almost always X25519MLKEM768. You can test this in under a minute, from a browser or a terminal.
What you are testing
During a TLS 1.3 handshake, client and server agree on a key-exchange group. Classical groups such as X25519 or P-256 could be broken by a large quantum computer, and anyone who records your traffic today could decrypt it later ("harvest now, decrypt later"). X25519MLKEM768 combines X25519 with ML-KEM-768, the key-encapsulation mechanism NIST standardised in FIPS 203, so the session key stays safe as long as either part holds.
The test answers one question: when a client offers X25519MLKEM768, does the server choose it? It says nothing about the certificate signature (still RSA or ECDSA on almost every public site) or about the cryptography inside your applications. Those need a separate inventory.
Method 1: your browser (no tools)
- Open the site in a current Chrome or Edge.
- Open developer tools (F12), go to the Security tab and select the main origin.
- Under Connection, read the key exchange.
X25519MLKEM768means post-quantum key exchange is on.X25519orP-256means it is not.
The browser only shows what was negotiated with your connection. If a CDN sits in front of the site, you are testing the CDN's edge, not the origin server behind it.
Method 2: OpenSSL 3.5 or later
OpenSSL 3.5 (April 2025, a long-term-support release) added ML-KEM and the hybrid groups. Check your version with openssl version, then offer only the hybrid group:
openssl s_client -connect example.com:443 -servername example.com \ -groups X25519MLKEM768 </dev/null 2>&1 | grep -iE "group|error|alert"
- Supported: the handshake completes and the output shows
Negotiated TLS1.3 group: X25519MLKEM768. - Not supported: the handshake fails with a handshake-failure alert, because the server has no group in common with you.
To see what a normal client gets, run the same command with -groups X25519MLKEM768:X25519. A server that supports the hybrid group picks it; one that does not falls back to X25519.
Method 3: curl
If your curl is built against OpenSSL 3.5 or later (curl -V shows the TLS library), restrict the groups it offers:
curl -sS -o /dev/null -w "%{http_code}\n" --curves X25519MLKEM768 https://example.com/
An HTTP status code means the server accepted the hybrid group; a TLS error means it did not.
Reading the result
| Result | What it means | What to do |
|---|---|---|
| X25519MLKEM768 negotiated | Session keys are protected against future quantum decryption. | Keep it on. Next, check that legacy TLS 1.0/1.1 is off and inventory the cryptography in your code. |
| Falls back to X25519 | Works today, but recorded traffic could be decrypted later. | Upgrade the TLS library and enable the group. See how to enable post-quantum TLS. |
| Handshake fails even without restrictions | A different problem: certificate, SNI or protocol settings. | Fix the basic TLS setup first. |
What a check cannot tell you
- Internal traffic: service-to-service calls, databases and queues often use older TLS stacks than the public edge.
- Code: RSA and elliptic-curve keys in your application, JWT signing, SSH keys and stored certificates.
- Dependencies: libraries that pin a classical algorithm.
That is what a cryptography bill of materials captures, and what the PQC Gate audit produces.
Check it with PQC Gate
Our free endpoint check reports, for one hostname, whether the server negotiates X25519MLKEM768, whether it still accepts legacy TLS, and what its certificate uses. For your own code and servers, the $299 audit inventories every quantum-vulnerable algorithm and hands you a CycloneDX CBOM and a fix plan.