Post-quantum migration · TLS

Hybrid post-quantum TLS: switching your servers to X25519MLKEM768

Most browsers already offer a post-quantum key exchange on every HTTPS connection. Whether your traffic is protected depends on the other end: your load balancers, web servers, API gateways and the service-to-service calls behind them. We find where hybrid post-quantum TLS is missing and turn it on without breaking clients.

0x11ECIANA codepoint for X25519MLKEM768, standardised in RFC 10024 (Aug 2026)
3.7%of origin servers Cloudflare connects to supported it in October 2025
1,216 Bclient key share, against 32 bytes for plain X25519
4%median handshake latency increase Chrome measured on desktop
Watch and download

Post-quantum migration in a few minutes

AI warning on cryptography: post-quantum migration explained (1:48) The 2 December joint statement, the deadlines, where RSA and ECC hide, and the five steps. Watch on YouTube
AI advances and cryptography: plan your post-quantum migration now (1:30) Why the 2 December warning matters for every stack, and what a migration involves. Watch on YouTube

The video loads from YouTube (youtube-nocookie.com) only when you press play.

What hybrid post-quantum TLS actually changes

TLS 1.3 agrees a session key with an ephemeral key exchange, today usually X25519. A large enough quantum computer running Shor's algorithm would recover that key from a recorded handshake, which is why traffic captured now can be decrypted later. This is the harvest-now, decrypt-later threat, and it applies to anything whose confidentiality must outlive the arrival of such a machine.

Hybrid post-quantum TLS runs two key exchanges in the same handshake: classical X25519 and ML-KEM-768, the lattice-based key encapsulation mechanism NIST standardised as FIPS 203. Both shared secrets feed the TLS key schedule, so an attacker has to break both to read the traffic. If a flaw were ever found in ML-KEM, the connection would still be as strong as X25519 is today.

The combination is a single TLS named group, X25519MLKEM768. The IETF published it in RFC 10024 in August 2026 as a Standards Track document, with codepoint 0x11EC and the IANA Recommended flag set to Y. The same RFC defines SecP256r1MLKEM768 (0x11EB) and SecP384r1MLKEM1024 (0x11ED) for deployments that must stay on NIST curves.

Only the key exchange changes. Your certificates, cipher suites and application code stay as they are.

Clients already offer it: the gap is on the server side

Chrome and Edge have offered X25519MLKEM768 by default since version 131, Firefox since 132 on desktop, and Safari since version 26 on iOS and macOS Tahoe. Apple states that URLSession and the Network framework advertise it for every app on its 26-series operating systems. On the library side, OpenSSL 3.5, Go 1.24, Node.js 24.5.0 and 22.20.0, rustls 0.23.27 and OpenJDK 27 all offer it by default.

Servers have been slower. In October 2025 Cloudflare reported that over half of human-initiated traffic reaching it used post-quantum key agreement, but only 3.7% of the origin servers it connects to supported X25519MLKEM768. If your public site sits behind a CDN, the browser-to-edge hop may already be hybrid while the edge-to-origin hop and every internal call are not.

Hybrid key exchange support by component (facts checked 2 December 2026)
ComponentVersionX25519MLKEM768 on by default?
OpenSSL3.5.0 (April 2025, LTS to April 2030)Yes: default key shares are X25519MLKEM768 and X25519
nginxBuilt against OpenSSL 3.5+Yes, if ssl_ecdh_curve is left at auto; otherwise list it yourself
HAProxyEnterprise 3.2+, Community 3.3+ with AWS-LCConfigure with ssl-default-bind-curves
OpenSSH10.0 (April 2025)Yes: mlkem768x25519-sha256 is the default key agreement
Chrome / Edge131Yes
Firefox132 desktop, 145 AndroidYes
Safari, Apple URLSession26Yes
Go crypto/tls1.24Yes, when CurvePreferences is nil
Node.js24.5.0, 22.20.0Yes
rustls (aws-lc-rs provider)0.23.27Yes, highest priority
OpenJDK (JSSE)27Yes, first in the named groups list

OpenSSL 3.5 is the turning point

OpenSSL 3.5.0, released on 8 April 2025, added ML-KEM, ML-DSA and SLH-DSA. Its release notes state that the default TLS key shares changed to offer X25519MLKEM768 and X25519, and that the default supported groups list now includes and prefers hybrid PQC groups. It is also the current long-term support release, supported until 8 April 2030.

In practice, OpenSSL post-quantum support arrives with an upgrade rather than a project: any server that uses OpenSSL's built-in group list gets hybrid key exchange once it links OpenSSL 3.5. The work is in finding which of your servers still link OpenSSL 3.0 or older, which ones pin an explicit group list that leaves the hybrid out, and which appliances bundle their own TLS stack.

Quantum-safe TLS on nginx: the configuration

nginx needs to be built against OpenSSL 3.5 or later. The ssl_ecdh_curve directive defaults to auto, which hands the choice to OpenSSL's built-in list, so with OpenSSL 3.5 and no override the hybrid group is already preferred. If your configuration pins a curve list, for example from an older hardening guide, it overrides that default and has to name the hybrid group explicitly.

The example below follows the configuration published on the official NGINX blog. Keep a classical group after the hybrid so that older clients still connect. Against an OpenSSL older than 3.5, nginx will refuse to start with this line, which is a useful guard in itself.

To confirm what clients actually negotiate, log the $ssl_curve variable (nginx 1.21.5+ with OpenSSL 3.0+). The nginx documentation notes that names it does not recognise appear in hexadecimal, so expect either X25519MLKEM768 or 0x11ec depending on the build.

nginx server block excerpt (nginx built against OpenSSL 3.5 or later), then a client-side check
# nginx.conf, inside the server block
ssl_protocols TLSv1.3;
ssl_ecdh_curve X25519MLKEM768:X25519:prime256v1;

# From any machine with OpenSSL 3.5:
# openssl s_client -groups X25519MLKEM768 -tls1_3 -connect example.com:443

HAProxy, Apache and everything in between

HAProxy documents hybrid support in HAProxy Enterprise 3.2 and later and Community 3.3 and later when built with AWS-LC; haproxy -vv shows which library is linked. The global settings ssl-default-bind-curves (client-facing) and ssl-default-server-curves (towards backends) take the list, with X25519MLKEM768 first and classical groups as fallback.

Apache httpd passes OpenSSL settings through SSLOpenSSLConfCmd, which maps to OpenSSL's group configuration. As with nginx, the precondition is a mod_ssl linked against OpenSSL 3.5. We test the exact directive against your build rather than copy it from a guide.

The harder estate is usually the one nobody configured by hand: managed load balancers, Kubernetes ingress controllers, service meshes, Java and Go services calling each other, and vendor appliances. Each has its own TLS library and its own release that adds ML-KEM. Our cryptographic inventory is how we list them.

What it costs: bytes and milliseconds

RFC 10024 puts the X25519MLKEM768 client key share at 1,216 bytes and the server share at 1,120 bytes, against 32 bytes each for X25519. The ClientHello no longer fits in one packet. Google measured a 4% median latency increase across TLS handshakes in desktop Chrome when it first shipped a hybrid key exchange. CPU cost is small by comparison: ML-KEM operations are fast, and the cost is mostly in the bytes on the wire.

The bigger risk is compatibility. Apple warns that its 26-series devices may fail to connect to some legacy servers whose TLS implementation cannot read a large ClientHello, and Go's release notes describe the same failure: a handshake timeout on buggy servers. Middleboxes, older firewalls and TLS-inspecting proxies are where we look first.

Why certificates lag behind key exchange

Hybrid key exchange protects confidentiality now. Authentication is a different problem with a different deadline: a forged signature only matters once a quantum computer exists, so it cannot be harvested in advance. Certificates are also far harder to change, because every client trust store, every CA and every intermediate has to move together.

The building blocks exist. ML-DSA in X.509 certificates is specified in RFC 9881 (October 2025), and libraries such as Go 1.27 and pyca/cryptography 50 can verify ML-DSA certificates. The obstacle is size: Cloudflare estimates that a drop-in ML-DSA-44 chain adds about 15 kB per handshake, notes that some clients and middleboxes reject chains over 10 kB, and does not expect post-quantum certificates to be broadly trusted by browsers before 2027. Work such as Merkle Tree Certificates aims to shrink that overhead.

Our advice is therefore to switch key exchange everywhere now, and to prepare for certificates by making issuance and rotation fully automated and crypto-agile, so that the later change is a configuration change rather than a project. The deadlines that frame this are set out on our CNSA 2.0 and NCSC timeline pages.

How we roll out hybrid TLS

  1. Inventory every TLS endpoint

    Public sites, APIs, origin servers behind the CDN, internal services, SSH and VPN endpoints, and the TLS library each one links.

  2. Measure what is negotiated today

    Probe each endpoint with an OpenSSL 3.5 client offering only X25519MLKEM768, and record which ones accept it, fall back or fail.

  3. Upgrade and configure

    Move servers to OpenSSL 3.5 or a library with hybrid support, remove pinned group lists that exclude it, and put the hybrid first with a classical fallback.

  4. Test the awkward paths

    Old clients, TLS-inspecting proxies, firewalls and partner integrations, with a rollback ready for each change.

  5. Prove it and keep it

    Log the negotiated group, report the share of hybrid handshakes, and add a check so a later change cannot silently remove it.

Engagements

Start with a free call, then a fixed-price assessment

Every migration starts by finding where your cryptography actually is. We work on any stack: .NET, Java, Go, Python, Node.js, PHP, Rust, C and C++, iOS and Android, cloud KMS, HSMs and PKI. Prices are fixed before work starts. BEK Service Ltd is not VAT registered, so no VAT is added.

Free readiness call

Free 30 minutes

A video call with an engineer. Tell us what you run; we tell you where your quantum-vulnerable cryptography most likely is, what the deadlines mean for you, and whether an assessment is worth it.

  • Your stacks, vendors and data lifetimes
  • Which deadlines apply to you
  • A straight answer on next steps
Book the free call

Migration and implementation

Quoted after the assessment

We do the work: runtime upgrades, crypto-agility layers, hybrid TLS, PQC signatures and key exchange, testing and the evidence your customers or auditors ask for.

  • Runtime and library upgrades on any stack
  • Hybrid ML-KEM key exchange, ML-DSA signatures
  • PKI, KMS and HSM changes
  • Regression and interop testing
  • Evidence pack for customers and auditors
Ask for a quote
  1. Discover

    Inventory every algorithm, key, certificate, library and protocol in scope.

  2. Prioritise

    Rank by how long the data must stay secret and how hard each change is.

  3. Upgrade

    Move runtimes and libraries to versions that support NIST's PQC standards.

  4. Implement

    Hybrid key exchange first, then PQC signatures, behind a crypto-agile layer.

  5. Evidence

    Test, document and hand over what your customers and auditors ask for.

FAQ

Questions we are asked

Is X25519MLKEM768 a final standard?

Yes. It is defined in RFC 10024, published in August 2026 on the IETF Standards Track, with IANA codepoint 0x11EC. Browsers and libraries shipped the same codepoint before publication, so existing deployments are interoperable.

Do I need new certificates to use hybrid post-quantum TLS?

No. Hybrid key exchange works with your existing RSA or ECDSA certificates. Post-quantum certificates using ML-DSA are a separate, later step.

Will older clients stop connecting?

Not if you keep a classical group in the list. A client that does not offer X25519MLKEM768 negotiates X25519 or a NIST curve as before. The real risk is old servers and middleboxes that mishandle the larger ClientHello, which is why we test before switching.

Is upgrading to OpenSSL 3.5 enough?

Often, but not always. OpenSSL 3.5 prefers the hybrid group by default, but an application or server that sets its own group list overrides that default, and many products bundle a different TLS library. Each endpoint has to be checked.

How much slower is the handshake?

The key shares add about 2.3 kB to the handshake. Google measured a 4% median latency increase on desktop Chrome handshakes. Connections that are kept alive and reused pay nothing extra.

Does this cover SSH as well?

OpenSSH 10.0 and later use the hybrid mlkem768x25519-sha256 key agreement by default, and 10.1 warns when a connection falls back to a non-post-quantum algorithm. We include SSH servers and jump hosts in the same inventory.

Sources

Facts checked against the sources below on 2026-12-02. Standards and product support change; tell us if something here is out of date. This page is general information, not legal or compliance advice.

  1. RFC 10024: Post-Quantum Traditional (PQ/T) Hybrid Key Agreement Mechanisms for TLS 1.3 (IETF / RFC Editor, 2026-08)
  2. OpenSSL 3.5 release notes (OpenSSL, 2025-04-08)
  3. OpenSSL 3.5 will be the next long term stable (LTS) release (OpenSSL, 2025-02-20)
  4. Post-Quantum Cryptography (PQC) support in NGINX (NGINX, 2025-12-03)
  5. Module ngx_http_ssl_module (nginx.org, 2026-12-02)
  6. How to enable post-quantum cryptography and TLS termination with HAProxy (HAProxy Technologies, 2026-07-07)
  7. Post-quantum support (client and library defaults) (Cloudflare, 2026-12-02)
  8. State of the post-quantum Internet in 2025 (Cloudflare, 2025-10-28)
  9. Advancing Our Amazing Bet on Asymmetric Cryptography (Google Chrome, 2024-05-23)
  10. Prepare your network for quantum-secure encryption in TLS (Apple, 2026-06-18)
  11. Go 1.24 release notes (The Go Project, 2025-02)
  12. OpenSSH 10.0 and 10.1 release notes (OpenSSH, 2025-10-06)
  13. RFC 9881: Algorithm Identifiers for ML-DSA in X.509 (IETF / RFC Editor, 2025-10)
Talk to an engineer

Book your free 30-minute readiness call

Tell us what you run and what is driving the question: a customer questionnaire, a government contract, a regulator or your own roadmap. We reply within one working day with times for a call.

Prefer e-mail? Write to sales@bekservice.uk.

BEK Service Ltd, a software company registered in England and Wales (company no. 12590587). We use what you send only to answer you; see our privacy policy.