Post-quantum TLS explained: hybrid key exchange now, certificates later
Post-quantum TLS sounds like a future project. Half of it has already shipped: a large share of the HTTPS connections made today use a key exchange designed to resist a quantum computer, and most site owners did nothing to make that happen. The other half, certificates, is not ready. Knowing which half is which tells you what to do now and what to leave alone.
Why key exchange went first
A TLS connection uses public key cryptography for two separate jobs, as described in the TLS handshake explained. Key exchange produces the shared secret that encrypts the session. Signatures, together with the certificate, prove the server is who it claims to be. A large enough quantum computer would break the classical algorithms behind both, but the consequences differ.
The threat model for key exchange is "harvest now, decrypt later". An attacker records encrypted traffic today, stores it, and decrypts it once a quantum computer can break classical key exchange. The attack starts now even though the machine does not exist yet. Anything that must stay confidential for years is already exposed.
Signatures do not have that problem. A signature only needs to resist forgery during the certificate's lifetime, and a handshake that was authentic when it happened cannot be forged afterwards. So key exchange was urgent and signatures less so, and the industry fixed them in that order.
The hybrid group everyone settled on
The industry settled on one hybrid key exchange group: X25519MLKEM768. It combines classical X25519 with ML-KEM-768, a post-quantum key encapsulation mechanism standardised by NIST.
Hybrid means both run in the same handshake and both results feed the key derivation, so the shared secret is safe if either half holds. If ML-KEM turns out to have a flaw, X25519 still protects you as well as it does today. If a quantum computer breaks X25519, ML-KEM still holds. You are not betting the connection on a young algorithm.
It is negotiated like any other group. The client lists it in supported_groups and sends a key share, and the server picks it if it supports it. It exists only in TLS 1.3. A server limited to TLS 1.2 cannot use it at all, which is one more reason to finish that upgrade. See TLS 1.2 vs TLS 1.3 for the rest.
The group is negotiated by default in current Chrome, Edge and Firefox, and preferred by the major CDNs when both ends support it. Roughly 70% of browser traffic reaching Cloudflare now uses ML-KEM hybrid key exchange.
Note what did not change. The cipher suite is the same, because the symmetric ciphers that protect the data, such as AES-256-GCM, are not considered at risk in the same way. The certificate is the same too.
What it costs
The handshake cost is small, on the order of one or two milliseconds plus a larger ClientHello. An X25519 key share is 32 bytes. The ML-KEM-768 share the client sends is 1,184 bytes, and that pushes the ClientHello past one packet.
This is the gotcha. For years a ClientHello fitted in a single packet, and some software quietly assumed it always would. Firewalls, load balancers and inspection appliances that read the server name from the first packet can stall or reset the connection when the message arrives in two pieces.
The symptom is distinctive: connections from current browsers hang or reset during the handshake, while curl or an old client on the same network works. If you see it, update the device in the path. Disabling the group on your server only hides the problem.
Certificates are the unfinished half
Authentication still relies on classical signatures, and the reason is size. Post-quantum signatures are much bigger than ECDSA or RSA. The NIST signature standard is ML-DSA, and its three parameter sets look like this:
| Algorithm | Public key | Signature |
|---|---|---|
| ML-DSA-44 | about 1,312 bytes | about 2,420 bytes |
| ML-DSA-65 | about 1,952 bytes | about 3,300 bytes |
| ML-DSA-87 | about 2,592 bytes | about 4,627 bytes |
For comparison, an ECDSA P-256 signature is around 70 bytes.
A handshake does not carry one signature. The leaf certificate holds a public key and a signature from the intermediate. The intermediate certificate holds its own key and a signature from the root. The server then signs the handshake itself. With ML-DSA-44 that is three signatures and two public keys, close to ten kilobytes, before counting the certificate transparency proofs embedded in the certificate, which are signatures as well. Multiply that by a chain and the handshake grows by kilobytes, enough to add round trips on a new connection.
That is why this half is slower. The algorithms exist, but putting them into the web's certificate system means agreeing on formats, updating root programmes and deciding whether the chain itself should be redesigned to carry less. Publicly trusted post-quantum certificates are not generally issued yet. Treat any plan that depends on a specific date for them with caution.
What to do today
The realistic list is short.
- Confirm TLS 1.3 is enabled. Hybrid key exchange needs it. The SSL Checker reports the protocol a host negotiates along with its certificate chain.
- Check your CDN or platform. If a large provider terminates TLS for you, visitors very likely get hybrid key exchange already. The connection from the CDN to your origin is a separate handshake and deserves the same check.
- Update your own TLS stack. If you terminate TLS yourself, support for the group depends on the version of your TLS library and web server. With a recent OpenSSL build you can test it directly:
openssl s_client -connect example.com:443 -groups X25519MLKEM768
- Make sure your origin and any middleboxes do not break on a large ClientHello. Test through every hop you run, including the corporate proxy and the WAF, with a current browser.
- Keep certificate automation in place. When post-quantum certificates do arrive, you want an algorithm change to be a config change in your ACME client and not a migration project.
To see what your current certificate does contain, how to read an SSL certificate covers the key and signature algorithm fields.
The part that protects the confidentiality of traffic recorded today is deployed and mostly automatic. The part that proves identity can wait for the standards work, as long as your certificates are easy to replace when it lands.