Will Envoy's post-quantum key exchange work with our clients and middleboxes?
Envoy 1.40.0, released October 13, 2026, added the hybrid key exchange X25519MLKEM768 to the default ECDH curves for upstream and downstream TLS connections, including FIPS builds. Whether that default breaks anything depends on whether every peer and device in the path can handle the larger hybrid handshake. Platform and security teams deciding whether to keep this default should first identify the clients, libraries and network devices that terminate or inspect those connections, since a peer without ML-KEM support falls back to X25519 or P-256 rather than failing outright, but a middlebox that mishandles the larger ClientHello or ServerHello can still cause connection problems. Envoy's documentation says the hybrid exchange adds about 1 KB to each of those messages.
The scope of Envoy's own pages is narrow. As of 2026-12-03, the TLS overview and API reference document post-quantum key exchange only, with no ML-DSA or SLH-DSA support for signatures or certificates. Operators should not read the 1.40.0 default change as a statement about certificate or signature readiness. Certificates in use today remain RSA or ECDSA, and teams should confirm that scope against the version they run rather than assume it has changed since the pages were checked.
Operators running Envoy 1.40.x or later are affected by the default change and should decide whether to keep it, override it per listener or certificate using ecdh_curves in TlsParameters (1.40.0 also added per-certificate tls_params overrides), or disable it with the runtime flag envoy.reloadable_features.pqc_default_ecdh_curves set to false. Teams with TLS-inspecting or legacy middleboxes should test their traffic before rollout, because those devices are the most likely to reject or stall on the larger handshake. Confirm the behavior in a staging environment that matches production paths, and check the Envoy 1.40.0 release notes for the exact settings before changing anything.
Which Envoy versions and settings change the handshake
This table lists the Envoy versions and configuration settings that change which key exchange a TLS handshake uses, with the source and date for each row. Read it to decide which peers need testing before you upgrade or change a setting, and check each row against the version you actually run. The main takeaway is that the default hybrid curve arrived in 1.40.0, so clients that do not support ML-KEM will fall back to X25519 or P-256.
| Version or setting | Effect on the handshake | Source and date |
|---|---|---|
| Envoy 1.40.0 default hybrid curve | Adds X25519MLKEM768 to the default ECDH curves for upstream and downstream TLS, including FIPS builds | Envoy 1.40.0 release notes, October 13, 2026 |
| Runtime flag pqc_default_ecdh_curves | Set envoy.reloadable_features.pqc_default_ecdh_curves to false to remove the hybrid default | Envoy TLS overview; 1.40.0 release notes |
| Explicit ecdh_curves in TlsParameters | Overrides the default curve list, so the hybrid curve applies only if you list it | Envoy TLS common.proto reference |
| Per-certificate tls_params overrides | Lets ECDH curves be set per certificate, added in 1.40.0 | Envoy 1.40.0 release notes, October 13, 2026 |
| BoringSSL backend (default build) | Supports X25519MLKEM768, adding about 1 KB to ClientHello and ServerHello | Envoy TLS overview, labeled 1.41.0-dev, December 3, 2026 |
| OpenSSL build (--config=openssl) | Confirm in the build documentation whether it provides the same hybrid curve before relying on it | Envoy TLS overview; confirm with the vendor and your build |
| FIPS build (--config=boringssl-fips) | Available only on Linux-x86_64, and a FIPS module alone does not establish compliance | Envoy TLS overview |
| CNSA 1.0 and 2.0 compliance policies | CNSA1_202603 and CNSA2_202603 appear only in the unreleased 1.41.0-dev reference, so do not expect them in 1.40.x | Envoy TLS common.proto reference, 1.41.0-dev, December 3, 2026 |
Which clients, libraries and middleboxes the change touches
Enabling hybrid key exchange in Envoy changes the handshake that clients, upstream services and network devices see. Each card below covers one party in that path and what to confirm before changing settings.
Peers that offer ML-KEM
Only peers that offer ML-KEM can complete the X25519MLKEM768 hybrid exchange with Envoy. Per Envoy's documentation, peers without ML-KEM fall back to X25519 or P-256 rather than failing the handshake. Test with the client software you actually run, since support depends on that client's version and TLS library. Confirm each one against its own documentation before assuming the hybrid group is negotiated.
Envoy TLS overviewTLS library on each side
Envoy uses BoringSSL as its default TLS provider, and an OpenSSL build is selectable at build time with --config=openssl. The library determines which key exchange groups are available, so confirm which one your Envoy binary was built with. Clients and upstream services each run their own library, and their support for the hybrid group is independent of Envoy's. Check the library version on every side of the connection.
Larger handshake messages
The hybrid exchange adds about 1 KB to both the ClientHello and the ServerHello. Inspection devices, load balancers and firewalls that parse or buffer these messages may need a check, and a larger ClientHello can affect path MTU in some networks. Test through each middlebox on the path, including TLS inspection points, before enabling the change broadly. Confirm the vendor's handling of the larger messages for the version you run.
Envoy TLS overviewUpstream services and their TLS stacks
When Envoy originates TLS to upstream clusters, the hybrid group applies to that connection as well, so each upstream service must accept it. Upstream services run their own TLS stacks, and a service that does not offer ML-KEM will fall back to a classical curve. Verify the negotiated group for each upstream rather than assuming it from Envoy's settings. Document which upstreams were tested and which fell back.
Envoy TLS common.proto referenceCertificates still use classical algorithms
The hybrid change affects key exchange only. Envoy's documentation covers ECDSA P-256, P-384 or P-521 and RSA certificates, and it documents no post-quantum certificate or signature support, such as ML-DSA or SLH-DSA, as of 2026-12-03. Certificate chains, client authentication and their validation work as before. Confirm with your certificate authority and Envoy's current documentation before planning any signature changes.
Envoy TLS common.proto referenceSDS-delivered secrets
Certificates and keys fetched through the Secret Discovery Service do not change the key exchange. Enabling the hybrid group is a separate setting from how secrets are delivered, so SDS configuration can stay as it is. The SDS connection itself must be secured with a Unix domain socket or authenticated TLS, as Envoy's documentation requires. Verify that the SDS path still works after a rollout, since it is a separate dependency to check.
Envoy SDS documentationHow the compatibility answer differs by deployment
Envoy at the internet edge terminates connections from clients you do not control, such as browsers, mobile apps, API consumers and partner systems. The X25519MLKEM768 hybrid key exchange is in Envoy's default ECDH curves from the 1.40.0 release, so a peer that offers ML-KEM can negotiate it. Envoy's documentation says peers without ML-KEM fall back to X25519 or P-256, so the fallback path stays in use for much of the traffic you will see. Your test coverage should therefore include both outcomes.
- Mixed client population: Expect some clients to negotiate the hybrid group and others to fall back to X25519 or P-256, and measure both.
- Default versus explicit settings: Confirm whether you rely on the default curve list or set
ecdh_curvesexplicitly inTlsParameters. - Runtime flag: The
envoy.reloadable_features.pqc_default_ecdh_curvesflag can disable the default if a client misbehaves. - Handshake size: The hybrid group adds about 1 KB to the ClientHello and ServerHello, which can matter for constrained or unusual clients.
- Client inventory: Ask your clients and partners which libraries they run, since the offer depends on their TLS stack.
Before changing defaults at the edge, confirm the Envoy version in production and check the handshake results from representative clients.
In a service mesh, Envoy often runs on both ends of a connection, so you control the client and the server and can test the full handshake in your own environment. This is the setting where you can produce end-to-end evidence rather than relying on what a remote peer happens to offer. The same TLS parameters and default curves apply, but you set the versions of both sides and can roll them out together.
- Both ends under control: Test the client and server Envoy versions as a pair, because each side's defaults apply to its own connections.
- Mesh-wide consistency: Check whether a per-certificate
tls_paramsoverride from 1.40.0 is in use, since it can set ECDH curves differently for individual certificates. - Mutual TLS: Confirm
require_client_certificateand the peer validation settings on both directions, since mTLS changes which handshakes complete. - Secret delivery: Confirm how certificates reach Envoy through SDS, and that the SDS connection is authenticated.
- Mixed versions during rollout: Record which workloads run older Envoy releases that lack the 1.40.0 default.
What you can show from a mesh test is limited to the Envoy versions and peers you ran, so record them with each result.
When a TLS-inspecting middlebox or SASE platform sits in the path, the handshake Envoy sees may not be the one the client or origin server negotiated. The middlebox terminates and re-originates the connection, so a hybrid key exchange offered by one side may not survive to the other. The Envoy documentation does not describe how any particular middlebox or SASE product handles the hybrid group, so you need to test this in your own path.
- Separate handshakes: Treat each hop as its own handshake and check which group each hop negotiates.
- Vendor confirmation: Ask the middlebox or SASE vendor whether it supports X25519MLKEM768 and what it offers toward origins.
- Fallback behavior: Confirm that a downgrade to X25519 or P-256 happens cleanly and that the connection still completes.
- Certificate handling: Inspection changes the certificates in the chain, so check how Envoy's trusted CA and certificate validation settings behave.
- Handshake size: Inspection devices may limit or mishandle larger ClientHello messages, so test the full flow.
Do not assume that a successful test through one middlebox applies to another device or path.
Envoy documents a FIPS-mode BoringSSL build selected with --config=boringssl-fips, and the page states that this build works only on Linux-x86_64. The 1.40.0 release notes say the hybrid X25519MLKEM768 default also applies to FIPS builds. A FIPS module is necessary but not sufficient for compliance: the Envoy TLS overview says additional steps, such as approved algorithms only and FIPS-approved private key generation, may be required.
- Platform limit: The FIPS build is documented for Linux-x86_64 only, so other architectures are outside that statement.
- Module versus compliance: Using the FIPS build does not by itself establish compliance with any standard or contract.
- Algorithm policy: Confirm which algorithms and curves your policy allows, since the default list is not automatically the approved list for your program.
- Key generation: Check how private keys are generated and whether that process meets your assessor's requirements.
- Assessor review: Ask the assessor which evidence they need beyond the build configuration.
Record the build flag, the platform and the settings you applied, and treat these as inputs to your assessment rather than its result.
Some federal or defense contracts cite CNSA 2.0. In the Envoy material, the CNSA compliance policies, CNSA1_202603 and CNSA2_202603, appear only in the latest API reference, which is the unreleased 1.41.0-dev documentation dated 2026-12-03. They are not in the released 1.40.x line that the supplied facts describe as current. CNSA 2.0 is not binding on commercial organizations, and any requirement you have comes from your contract, not from the policy name.
- Unreleased reference: The CNSA policies are documented only in the 1.41.0-dev reference, so do not describe them as available in a released version.
- Contract text: Read the contract to find which requirement applies, and ask the contracting officer or your security office to confirm it.
- Policy scope:
CNSA2_202603allows only TLS 1.3 with AES-256-GCM and ML-KEM-1024, which may not match your existing clients. - Released versions: Confirm which released Envoy version you can deploy and whether it includes the policy you need.
- Signatures: Envoy's pages state no post-quantum signature or certificate support, so confirm what your contract requires for authentication.
A policy name in a configuration file is not a compliance result. Ask your assessor and contracting office which evidence they accept.
What to test before changing Envoy's TLS settings
This sequence confirms which Envoy versions, peers and middleboxes are affected by the default X25519MLKEM768 hybrid key exchange, and lets you choose a setting with evidence before any production change. Each step ends with a check you can record.
Inventory Envoy versions and identify 1.40.0 or later
The platform or proxy owner lists every Envoy deployment, including the build variant (BoringSSL, OpenSSL or FIPS BoringSSL) and the exact release, from the running binary or container image tag. Envoy 1.40.0 added X25519MLKEM768 to the default ECDH curves for upstream and downstream connections, so deployments at 1.40.0 or later send and accept hybrid key shares by default, while earlier releases do not. Mark each instance as before or at 1.40.0. This step is done when the inventory has one row per deployment with its version, build variant and whether the default hybrid curve applies.
List peers and middleboxes on each connection path
The network and platform teams record every client, upstream service and device that terminates or inspects connections through each Envoy listener and cluster. Include browsers and API clients, internal services, load balancers in front of Envoy, and any TLS inspection appliances or firewalls on the path. Note which of them are under your control and which are third-party, since the peers that lack ML-KEM fall back to X25519 or P-256 under Envoy's documented behavior. This step is done when each listener and upstream cluster has a list of its peers and devices, with the owner of each one named.
Test handshakes in staging with controlled clients
In a staging path that mirrors production, the test team runs handshakes from clients you control, including a current client, an older client and a client library used by your applications. For each one, capture the negotiated key exchange group from the connection details or a packet capture, and record whether the handshake completes. Repeat the test through any middlebox on the path. Do this with and without the change under test. This step is done when each client and middlebox has a recorded result showing the negotiated group and whether the connection succeeded.
Choose default, explicit curves or runtime flag
The platform owner decides among three options and records the reason. The first is to keep the default, which sends X25519MLKEM768 and falls back for peers without ML-KEM. The second is to set ecdh_curves explicitly in TlsParameters, which is documented in the Envoy TLS overview and the TlsParameters reference in common.proto. The third is to set the runtime flag envoy.reloadable_features.pqc_default_ecdh_curves to false, which Envoy documents for disabling the default hybrid curve. Check each option against the Envoy TLS overview and 1.40.0 release notes before selecting it, and confirm that the choice matches what the staging results showed. This step is done when a decision record names the option, the exact setting or flag, the version it applies to, and the Envoy documentation that supports it.
Confirm the chosen setting in logs or stats
After applying the chosen setting in staging, the operator checks the Envoy logs and stats or the admin interface to confirm that it took effect. Look for the negotiated group in TLS-related log fields where your access log format includes them, and compare against the handshake captures from the earlier step. If the runtime flag is used, confirm its value through the runtime configuration and check that the negotiated group changed in the expected direction. Restrict admin interface access while you do this, since Envoy's admin documentation says it has no TLS or authentication. This step is done when the operator has a logged or captured result showing the new setting in effect and a matching record in the change ticket.
Retest handshakes after each Envoy upgrade
After each Envoy upgrade, the platform team repeats the inventory, peer and handshake tests against the new release, since defaults and available settings can change between versions. Compare the negotiated groups and client results with the recorded baseline, and check the release notes for changes to TLS defaults or to the runtime flag. Include patch releases from the version history in this review. This step is done when the retest results are filed against the new version and any differences from the baseline have a documented decision.
Where the hybrid handshake passes through the path
This illustrative path starts at a client that offers X25519MLKEM768 in its ClientHello, which is about 1 KB larger than a classical ClientHello according to Envoy's TLS overview. The request passes through a middlebox or inspection device, which must handle the larger handshake messages, before reaching Envoy as the TLS listener. Envoy either completes the hybrid exchange or falls back to X25519 or P-256 when the peer lacks ML-KEM. Check each hop for handling of the larger messages and confirm which curve was negotiated.
Illustrative path of the handshake, not a measured traffic capture.
What Envoy's pages do not document and what to ask
Envoy's pages document hybrid key exchange with X25519MLKEM768 but leave several questions open for compatibility planning. The cards below list each gap, why it matters for clients, libraries and middleboxes, and what to ask the project or your own test team.
Post-quantum signatures and certificates
As of 2026-12-03, the TLS overview and API reference pages document post-quantum key exchange only. They do not mention ML-DSA or SLH-DSA for certificates or signatures, so a post-quantum certificate chain cannot be assumed from these pages. Ask the Envoy project or your vendor for a dated timeline for post-quantum signature support, and confirm whether any planned release will change how certificate chains are validated against your clients.
Envoy TLS overviewTested client and middlebox matrix
The Envoy pages do not list which clients, libraries or middleboxes have been tested with X25519MLKEM768. Public documentation cannot tell you whether a given browser, SDK or appliance completes a hybrid handshake with your settings. Build your own test matrix covering each client family you serve, and record the Envoy version, BoringSSL or OpenSSL build and negotiated group for every result.
CNSA policies in released builds
The CNSA1_202603 and CNSA2_202603 compliance policies appear only in the latest API reference, which describes the unreleased 1.41.0-dev line as of 2026-12-03. The 1.40.2 release is the current release on that date, and the pages do not say which release will first ship these policies. Ask the project which release will include them before you plan a configuration around them, and confirm the release notes after it ships.
Envoy TLS common.proto referenceTLS-inspecting middlebox behavior
The Envoy pages do not describe how TLS-inspecting middleboxes handle the larger hybrid handshake. The TLS overview notes that X25519MLKEM768 adds about 1 KB to the ClientHello and ServerHello, but says nothing about whether inspection devices in your path accept or truncate those messages. Ask the middlebox vendor directly and test with a representative inspection device in your network path before enabling the default.
FIPS build coverage
The Envoy TLS overview documents the FIPS build, selected with --config=boringssl-fips, as working only on Linux-x86_64. The pages do not say whether other operating systems or architectures will receive it. If your fleet runs other platforms, ask the project for its support plan, and confirm that the X25519MLKEM768 default applies to the FIPS build you will deploy.
Deprecation notice for non-hybrid default
The 1.40.0 release notes say X25519MLKEM768 was added to the default ECDH curves, and the TLS overview documents a runtime flag and explicit ecdh_curves setting that can disable it. The pages do not state whether Envoy plans to deprecate the non-hybrid default or remove these override paths. Ask the project for any deprecation notice, and check the version history for each release you plan to run before you rely on the current override settings.
Envoy 1.40.0 release notesWhat can break or silently fall back when hybrid key exchange is on
The first risk is a failed connection, not a silent one. Envoy's hybrid default, X25519MLKEM768, adds about 1 KB to the ClientHello and ServerHello, according to the TLS overview labeled 1.41.0-dev. A middlebox, such as a firewall, load balancer or inspection device, or an older TLS library that mishandles the larger handshake messages can drop or reject connections that worked before. This shows up as handshake failures or timeouts, so the operator should find it in testing. Test each client population, including older libraries and any network path that inspects TLS, against a staging listener with the Envoy 1.40.0 or later default before the change reaches production. Confirm the failures are absent under the same traffic when the runtime flag or explicit ecdh_curves setting is applied.
The second risk is that a successful connection does not prove hybrid negotiation. Envoy documents that peers without ML-KEM fall back to X25519 or P-256, so a handshake can complete with a classical group and look healthy. Check the negotiated group on the server side, for example through access logs or connection telemetry where your deployment exposes the key exchange group, rather than inferring it from the connection working. The two settings that change the result are the runtime flag envoy.reloadable_features.pqc_default_ecdh_curves, which controls the 1.40.0 default, and an explicit ecdh_curves list in TlsParameters. An explicit list replaces the default, so a configuration that names only classical curves will negotiate them with no visible error. Per-certificate tls_params overrides, added in 1.40.0, can set ECDH curves for one certificate, so a listener-level change can be overridden for specific server names. Review every certificate's tls_params when you audit a listener. The cipher_suites setting applies only to TLS 1.0 through 1.2 and has no effect on TLS 1.3, so it does not control the key exchange in TLS 1.3 handshakes. Confirm the curve list in the effective configuration, not only the cipher list.
Questions engineers ask about Envoy handshake compatibility
Is Envoy quantum safe?
Envoy supports post-quantum key exchange, but the facts do not support calling it quantum safe. From version 1.40.0, the default ECDH curves for upstream and downstream TLS include X25519MLKEM768, a hybrid key exchange that combines X25519 with ML-KEM-768, in both standard and FIPS builds. Envoy's own pages document no post-quantum signature or certificate support, such as ML-DSA or SLH-DSA, as of 2026-12-03. Certificates and signatures in your deployment therefore remain on RSA or ECDSA. Treat this as partial post-quantum key exchange, and check the current Envoy documentation before making a compliance statement.
Which Envoy version do I need for hybrid key exchange by default?
You need Envoy 1.40.0 or later. The 1.40.0 release notes, dated October 13, 2026, add X25519MLKEM768 to the default ECDH curves for upstream and downstream TLS connections. The version history lists 1.40.2 as the latest patch release in that line, with 1.41.0 pending as of 2026-12-03. Older releases do not add the hybrid curve by default. Confirm the version you run with envoy --version, then check the release notes for any patch-level changes that affect TLS behavior before you upgrade production.
Does enabling post-quantum key exchange in Envoy cost extra?
The facts supplied do not state any licensing fee or price for Envoy or for the hybrid curve. Envoy is an open source project, and the TLS behavior described in the documentation does not mention a paid tier. Confirm this with the Envoy project and with any distributor or commercial support provider you use, because a packaged or supported build may carry its own terms. Your real cost will mostly be engineering time for testing, configuration review and monitoring. Ask any support provider for a written, fixed-scope quote that lists testing, rollout and rollback work separately.
What breaks when Envoy negotiates a hybrid key exchange?
The main effects come from a larger handshake and from peers that do not support ML-KEM. Envoy documents that the hybrid key exchange adds about 1 KB to the ClientHello and ServerHello. Peers without ML-KEM fall back to X25519 or P-256, so most connections should still complete. Check these areas before rollout:
- Middleboxes, load balancers and firewalls that inspect or limit TLS handshake size
- Older clients and libraries that mishandle larger ClientHello messages
- Any explicit
ecdh_curvessetting inTlsParameters, which overrides the new default - Per-certificate
tls_paramsoverrides added in 1.40.0
Test with real client populations in a staging environment, and watch handshake failure rates after rollout.
How do I turn off the hybrid key exchange if a client breaks?
You have two documented options. The first is to set the runtime flag envoy.reloadable_features.pqc_default_ecdh_curves to false. The second is to set ecdh_curves explicitly in TlsParameters, which takes precedence over the default. Use the explicit setting if you want a fixed list of curves that excludes X25519MLKEM768. Confirm which option your deployment's Envoy version honors by reading the TLS overview and the 1.40.0 release notes for that version. Record the change, and test that the affected client reconnects after the change.
What should I ask the Envoy project or my vendor about post-quantum support?
Ask for written answers to these questions:
- Whether any post-quantum signature or certificate support is planned, and on what timeline
- Whether the default hybrid curve will change in later releases
- Whether a supported build in your environment includes the same BoringSSL behavior described in the Envoy docs
- What support and patch terms apply to the release line you run
- Whether any FIPS or CNSA 2.0 compliance profile you need is available for your build
The Envoy documentation states compliance policies for CNSA1_202603 and CNSA2_202603 in the unreleased 1.41.0-dev API reference. Confirm their status in the released version you run before relying on them.
Can my team test Envoy handshake compatibility without outside help?
Yes. Your team can test with a staging Envoy deployment, a representative set of clients, middleboxes and libraries, and the documented settings. Start by recording the current TLS settings, then compare handshake success and failure rates with the hybrid curve on and off. The documentation covers the configuration keys you need. If your team lacks time or test coverage, DeployOpen can deliver a fixed-scope test plan and run the compatibility tests in your own infrastructure, with the scope and deliverables agreed in writing before work starts.
How DeployOpen works on this
DeployOpen approaches Envoy post-quantum compatibility by first mapping which clients, libraries and middleboxes actually negotiate with your Envoy listeners and upstreams, then testing those handshakes before any default changes. We build the test environment inside your own infrastructure and document results so your team can repeat them.
How we scope
- We agree a written scope listing the Envoy versions, listeners, upstream clusters and client types under review.
- We confirm which TLS providers and builds are in use, including BoringSSL, OpenSSL or FIPS builds.
- We identify middleboxes and inspection devices on the path that may affect hybrid key exchange handshakes.
How we build
- We set up a test environment in your infrastructure that mirrors production Envoy configuration and TLS parameters.
- We run handshake tests with representative clients and libraries, recording which curves and cipher suites are negotiated.
- We test the ecdh_curves setting and the envoy.reloadable_features.pqc_default_ecdh_curves runtime flag to confirm fallback behavior.
How we hand over
- We deliver a compatibility report listing each client, library and device tested, with the observed handshake result.
- We document the exact Envoy version, build and TLS settings used for each test so results can be reproduced.
- We provide a rollback and retest plan so your team can repeat the checks before and after any configuration change.
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
- Ongoing support, upgrades and continuous handshake testing are available as a retainer.
- We can rerun compatibility tests after each Envoy patch release, such as 1.40.2 or later, to catch regressions.

