Why a TLS post-quantum rollout can break connections without any configuration change
A change manager who upgrades a TLS endpoint to OpenSSL 3.5 or later may see handshake failures or timeouts with no edit to any configuration file. The reason is that OpenSSL 3.5.0 changed the default TLS group list, so a client now sends two key shares by default, X25519MLKEM768 and X25519. That makes the ClientHello larger. The failure does not weaken the connection: a handshake that fails or stalls is simply refused or dropped, and the traffic is not sent in the clear. The practical risk is availability, which is why the rollout needs a checklist rather than a single switch.
The fix is to run the checklist on each hop between client and server, one at a time. The OpenSSL 3.5 documentation warns that the DEFAULT group list can cause failures or timeouts in rare cases, and it suggests prepending ?X25519MLKEM768: to the list if that happens. For each hop, confirm the build with openssl list -tls-groups, then run openssl s_client -groups X25519 -tls1_3 as a classical baseline and openssl s_client -groups X25519MLKEM768 -tls1_3 as the hybrid test through the same path. A hop that completes the baseline but stalls on the hybrid test is the one to investigate.
The risk is highest where a middle device or an older runtime handles the larger handshake badly. Inspecting firewalls, web proxies and load balancers may split, drop or truncate a large ClientHello, and some older TLS stacks time out on large records. Go's GODEBUG documentation notes that tlsmlkem=0 can help with buggy TLS servers that mishandle large records. Treat that as a temporary diagnostic, not a fix, and record which hop needed it. Before the change, ask each device vendor whether its inspection and handling of larger handshakes has been tested, and make that answer part of the change record.
Which checks to run on each hop before enabling hybrid key exchange
This sequence gives you a classical baseline and a hybrid result for every network path between client and server, so you can see whether a firewall, proxy or load balancer changes the handshake before you turn on X25519MLKEM768 for production traffic. Each step produces a recorded output that the change review can compare.
Confirm OpenSSL builds on client and server
The engineer responsible for the client tooling and the server platform team each run
openssl version -aon the machines they will test from and on the servers that terminate TLS. The output shows the installed OpenSSL version and build details. Hybrid groups need OpenSSL 3.5 or later, and macOS ships LibreSSL, so a Mac test host may need a separate OpenSSL install. Record the version string for each host in the change ticket. The step is done when every test host reports a version that meets the requirement.Check that the build lists the hybrid group
On each host from the previous step, run
openssl list -tls-groupsand confirm thatX25519MLKEM768appears in the output. Also runopenssl list -kem-algorithmsif you want to see the key encapsulation algorithms the build provides. A build that does not list the group cannot negotiate it, so stop here and upgrade or rebuild that host first. The step is done when the saved output shows the group on both client and server.Capture a classical baseline on each path
From the client, run
openssl s_client -groups X25519 -tls1_3 -connectagainst the server through each firewall, web proxy and load balancer on the route, and set-servernameto the hostname the production traffic uses so SNI matches. Save the output for every path. The baseline shows that the path completes a classical TLS 1.3 handshake before you change anything. The step is done when every path returns a completed handshake and you have stored each result.Run the hybrid test on the same paths
Repeat the test from the previous step on the same paths, this time with
-groups X25519MLKEM768. Keep the same-servernameand host order so that any difference traces to the group change alone. A hop that passes the baseline but stalls or drops the connection here is the one that cannot carry the larger hybrid ClientHello. Note the hop, the timeout or error message and the time of each failure. The step is done when every path has a hybrid result recorded next to its baseline.Inspect the ClientHello with msg and trace
For any path where the hybrid test behaves differently, rerun the test with
-msgto print the protocol messages, or-tracefor a more verbose record, and look at the ClientHello being sent. Confirm that the key share and supported groups extensions contain the hybrid group and that the message size is what you expect. Keep the trace output with the ticket so reviewers can compare it against the server log. The step is done when you can point to the exact message where the handshake diverges on that hop.Confirm the nginx negotiated group on success
On nginx servers, run the hybrid test with
-tls1_3and pipe the output throughgrep Negotiated. A successful hybrid handshake printsNegotiated TLS1.3 group: X25519MLKEM768. If you see a classical group name instead, the server is not negotiating the hybrid group even though the client offered it, so check thessl_ecdh_curvesetting and the OpenSSL version the server runs. The step is done when the negotiated line matches the expected group on every tested path.Record results and decide the rollout order
Gather the version strings, baseline results, hybrid results, traces and negotiated group lines into one record for the change manager. Mark each hop as passing, failing or not yet tested, and decide which hops must be fixed or excluded before the change goes live. Ask the network and platform teams to confirm the fix for each failing hop in writing before the rollout is scheduled. The step is done when the change manager has a signed-off list of hops that are ready.
Which rollout situations need extra testing before go-live
This table compares rollout situations that change how a hybrid X25519MLKEM768 handshake is offered or negotiated, and the check to run for each. Read each row before go-live and run the listed test on the same network path you plan to change. The main takeaway is that a plain OpenSSL upgrade can change the ClientHello without any configuration edit, so test the path after every version change, not only after configuration changes.
| Situation | Effect | Check to run |
|---|---|---|
| Client on OpenSSL 3.5 or later | Client can offer X25519MLKEM768 and sends two key shares by default, so the ClientHello is larger. | Run openssl version -a, then openssl list -tls-groups to confirm the hybrid group is present before testing. |
| Client on LibreSSL (macOS default) | LibreSSL cannot run the nginx s_client hybrid test, so a negative result may reflect the client, not the server. | Install OpenSSL 3.5 or later and repeat the test with that build before drawing a conclusion. |
| Server ssl_ecdh_curve set to auto | nginx uses the built-in OpenSSL list, so the negotiated group depends on the OpenSSL version it was built with. | Log $ssl_curve after rollout to see which groups clients actually negotiated, and compare with a classical baseline. |
| Server ssl_ecdh_curve set to an explicit classical list | A list such as X25519:prime256v1:secp384r1 removes the hybrid group, so hybrid clients fall back to classical key exchange. | Confirm with openssl s_client -groups X25519MLKEM768 that the hybrid group is absent, and decide whether that is intended. |
| OpenSSL 3.0.x without the OQS provider | nginx -t fails with group 'X25519MLKEM768' cannot be set when that group is listed in ssl_ecdh_curve. | Run nginx -t after every edit to ssl_ecdh_curve, and check the OpenSSL version before adding the group. |
| DEFAULT group configuration on OpenSSL 3.5 or 3.6 | Per CVE-2026-2673 (severity Low), the server can skip the Hello Retry Request and fail to negotiate X25519MLKEM768 when the client sends only classical key shares. | Check the installed version against the fixed releases 3.5.6 and 3.6.2, and test with a client that sends only classical key shares. |
| Go runtime with a buggy TLS server | Go enables X25519MLKEM768 by default from Go 1.24; the Go documentation says GODEBUG tlsmlkem=0 may help a server that mishandles large records and times out. | Repeat the hybrid test from the Go client with and without GODEBUG tlsmlkem=0, and compare handshake results on the same path. |
What each role should verify before and after the change
A change manager's job is to make sure each hop between client and server has a recorded baseline before hybrid key exchange is enabled, and a matching hybrid test after. The baseline is a classical handshake run through each firewall, proxy and load balancer on the path, so any later failure can be compared against a known-good result on the same hop. Nothing should be signed off on the strength of a single server-side test, because the failure often sits in a device between the two.
- Baseline each hop: Run
openssl s_client -groups X25519 -tls1_3 -connect your-server:443 </dev/null 2>/dev/null | grep Negotiatedthrough every path a client can take, and record the output for each. - Repeat with the hybrid group: Run the same command with
-groups X25519MLKEM768on the same hops, and record whether the output showsNegotiated TLS1.3 group: X25519MLKEM768. - Record the client OpenSSL version: The client must be OpenSSL 3.5 or later for this test, and macOS ships LibreSSL, so confirm which binary the test used.
- Sign off per hop: Approve the change only for hops where both the baseline and the hybrid test succeed, and keep the failing hops on a list with an owner.
- Check for the known default-group issue: Confirm the server is on a fixed OpenSSL release if it uses the DEFAULT group keyword, since CVE-2026-2673 affects 3.5 and 3.6 builds before 3.5.6 and 3.6.2.
Before sign-off, check that every hop in the list has both a dated baseline result and a dated hybrid result on file.
A server operator sets which key exchange groups the server offers and confirms what clients actually negotiate. In nginx, the directive ssl_ecdh_curve controls the group list, and its default auto uses the list built into the OpenSSL library. Setting it explicitly and then logging the result makes the rollout observable rather than assumed. Operators should also know that a classical-only list can silently remove the hybrid group.
- Set the group list deliberately: Add the hybrid group to
ssl_ecdh_curve, or keepautoand confirm the library build includes it, and avoid a classical-only list such asX25519:prime256v1:secp384r1, which can remove the hybrid group. - Check the build before reloading: On OpenSSL 3.0.x without the OQS provider,
nginx -tfails with a "group 'X25519MLKEM768' cannot be set" error, so runnginx -tbefore every reload. - Log the negotiated group: Add
$ssl_curveto the access log format, which requires nginx 1.21.5 and OpenSSL 3.0 or later, so you can see what clients actually negotiated. - Watch the log after rollout: Compare the logged groups against the expected mix, and investigate a sudden rise in classical-only connections or in handshake errors.
- Confirm the server build: Run
openssl version -aon the server to confirm the OpenSSL version the nginx build uses.
After rollout, confirm that the logged $ssl_curve values include the hybrid group for clients that offer it.
Developers and CI runners control the TLS stack inside the software they build and test. The build version and the runtime settings decide whether a client offers a hybrid group at all, so a test that passes on a developer's laptop may not match what a CI runner or production image sends. Pin the versions and record the settings so the test results can be reproduced.
- Confirm the build version: Run
openssl version -vin the build environment and record the result, since OpenSSL 3.5.0 (released 8 April 2025) is the first release with the hybrid groups. - Confirm supported groups: Run
openssl list -tls-groupsto check that the build implements X25519MLKEM768, andopenssl list -kem-algorithmsto see the key encapsulation algorithms present. - Check Go GODEBUG settings: In Go, X25519MLKEM768 is on by default since Go 1.24, and
tlsmlkem=0disables it, so confirm the value the build actually runs with. - Plan for the Go SecP group switch: Hybrid SecP groups are on by default since Go 1.26, and
tlssecpmlkem=0turns them off, which matters when a server mishandles large records. - Keep the environments aligned: Record the same settings in the CI image and the production image, so the tested handshake matches the deployed one.
Before the change ships, confirm the version output and the GODEBUG value match in every environment that makes TLS connections.
If your organization uses a hosted service, you cannot run nginx -t or read its server configuration. The sources available for this topic do not describe the key exchange settings of hosted services, so the questions have to go to the provider. Your side can still test the path you control, and you can record what the provider says in writing before the change is made.
- Ask which groups the service accepts: Request a written statement of the key exchange groups the service accepts, and whether hybrid groups are offered.
- Ask about rollout timing: Find out whether the provider plans to enable hybrid groups, and what it will do if a client fails to negotiate one.
- Test the client path: Run the s_client baseline and hybrid tests from your own network to the service hostname, using
-servernameto set the SNI value, so you can see what your side negotiates. - Check your own proxies: Run the same tests through your firewall and proxy, since those devices sit on the path to the hosted service and can fail the handshake.
- Record the provider's answer: Keep the written reply with the date, and reference it in your change record.
Before relying on a hosted service for a hybrid connection, confirm the provider's answer in writing and that your own path tests pass.
What can break when the change is rolled out too fast
Enabling hybrid key exchange changes what clients send and what servers accept, so most outages trace back to a few predictable causes. The cards below cover the devices, configuration lines and build versions that fail, and the missing baseline that makes those failures hard to spot.
Middle devices that time out
Some firewalls, inspection appliances and proxies mishandle the larger ClientHello that a hybrid group produces, and either drop it or stall waiting for the rest of the message. The connection then fails with a timeout rather than a clear TLS error, which makes the device easy to misdiagnose as a server fault. Before the change, run the same connection test through each hop and compare which ones hang. Ask the vendor whether its inspection engine supports TLS 1.3 hybrid key shares.
Classical-only group lists
An explicit ssl_ecdh_curve line that lists only classical groups, such as X25519:prime256v1:secp384r1, silently removes the hybrid group from the server's offer. Nothing fails at deploy time, so the server appears healthy while clients fall back to classical key exchange. Check the directive in every server block and included file, and confirm after rollout with the $ssl_curve variable in the access log. Remove the explicit list or add the hybrid group to it.
Unfixed 3.5 and 3.6 builds
OpenSSL 3.5 and 3.6 servers that use the DEFAULT group keyword can skip the Hello Retry Request and fail to negotiate X25519MLKEM768 when a client's first key shares are classical only. This is tracked as CVE-2026-2673, rated Low, and fixed in 3.5.6 and 3.6.2. Run openssl version -v on each server build before the change, and schedule an upgrade if the build predates those releases. Confirm the upgrade with a hybrid s_client test against each server.
Automation that pins old clients
Configuration management, deployment scripts and client images often pin an older TLS library or an explicit group list, so a rollout that looks complete still leaves some clients offering only classical groups. Those clients keep working, which hides the gap until someone checks negotiated groups in logs. Inventory the client images and scripts that set TLS options, and confirm each one by running openssl list -tls-groups on the client build. Any client built on OpenSSL older than 3.5 cannot offer X25519MLKEM768.
Go servers and large records
Some TLS servers mishandle large handshake records and time out when a Go client offers a hybrid group. Go enables X25519MLKEM768 by default from Go 1.24, so affected servers begin failing after the client upgrade. Setting GODEBUG=tlsmlkem=0 restores the classical offer for that process, but it also removes the post-quantum protection for every connection that process makes. Treat that setting as a temporary measure and track the server that needs fixing.
No pre-change baseline
A rollout without a classical baseline gives no way to tell whether a new failure came from the change or was already present. Before enabling anything, record a successful openssl s_client -groups X25519 handshake through each firewall, proxy and load balancer path, and keep the output. After the change, run the same test with the hybrid group and compare the two results hop by hop. Without that record, a failure on one path is hard to attribute to a specific device.
Where to go next for a specific failing hop
If the checks on this page show that a hybrid key exchange is breaking at one device, the next step depends on what you are seeing. When the connection fails only for some clients, or the ClientHello is large enough that an older firewall or proxy drops it, read the page on why a post-quantum TLS handshake fails in front of older devices. It explains which part of the ClientHello changes when hybrid key exchange is offered and which kinds of device are known to react badly to it. Use that page to decide what to raise with the vendor of the inspecting device before you change anything on the client or server.
If you know a connection is failing but not where, go to the page on finding which hop breaks a post-quantum TLS connection. It gives a step-by-step method for testing from client to server and isolating the firewall, proxy or load balancer that drops the handshake. Run the classical baseline with -groups X25519 and the hybrid test with -groups X25519MLKEM768 on each path in the same order, so the first hop where only the hybrid test fails is the one to fix. Keep the results for your change record.
If a fix is not available in time, the page on disabling post-quantum key agreement for TLS and when that is sensible covers the ways to turn hybrid key exchange off on a client or server. It also explains what that costs in protection and when a temporary switch-off is a defensible choice. Treat any switch-off as a dated exception with an owner, and confirm with your security team that it is recorded. Finally, if the error text names an unsupported group or key share, read the page on what an unsupported named group error means in TLS, which explains where to look on the client and the server.
Questions change managers ask before signing off a TLS rollout
Should we wait for a full cryptographic inventory before enabling hybrid key exchange?
No, not for the TLS handshake itself, though an inventory is still useful for the wider migration. Hybrid key exchange is a change you can test one hop at a time, and the risk sits in the firewalls, proxies and load balancers between clients and servers, which an inventory of algorithms will not reveal. Start by confirming which OpenSSL build each client and server runs, since OpenSSL 3.5.0 (released 8 April 2025) is the first version that implements X25519MLKEM768 with the hybrid groups. Then run a classical baseline and a hybrid test through each path you control. Use the inventory to plan the wider rollout, but do not hold the TLS change until it is complete.
Is the connection still encrypted if the hybrid group is not negotiated?
Yes. When the hybrid group is not negotiated, the handshake falls back to a classical group such as X25519, and the session is still encrypted, just without the post-quantum key share. What changes is the protection you get, not whether TLS runs. Verify this on your own path: run openssl s_client -groups "X25519MLKEM768" -tls1_3 -connect your-server:443 </dev/null 2>/dev/null | grep Negotiated and then the same test with -groups X25519. Confirm which group was negotiated in each case. Check the server's logs or $ssl_curve in nginx to see what clients actually negotiated.
Is upgrading OpenSSL alone enough to turn on hybrid key exchange?
No. A plain upgrade is not always sufficient, and it can change behavior on its own. OpenSSL 3.5.0 changed the default TLS group list so that a client sends two key shares by default, X25519MLKEM768 and X25519. That makes the ClientHello larger without any configuration change. The OpenSSL 3.5 documentation also warns that the DEFAULT list can cause failures or timeouts in rare cases, and suggests prepending ?X25519MLKEM768: to the group list. Check your current group configuration with openssl list -tls-groups and test before and after the upgrade. Also note that CVE-2026-2673 affects 3.5 and 3.6 servers that use DEFAULT, and is fixed in 3.5.6 (released 7 April 2026) and 3.6.2.
What should we do if a middle device cannot be upgraded to handle larger handshakes?
Test the hop first to confirm it is the failing device, then choose the least disruptive option. The sources do not describe a vendor-independent fix for middleboxes. Practical options named in the documentation include excluding the hybrid group on the affected path. On the client side, Go's tlsmlkem=0 in GODEBUG turns off X25519MLKEM768, and the Go documentation says this can help with buggy TLS servers that mishandle large records and time out. On the server side, you can narrow the group list in nginx's ssl_ecdh_curve. Ask the device vendor for an upgrade or a documented setting, and record the exception so it can be reviewed later.
Should we keep a classical-only group list as a rollback option?
A classical-only list is a sensible rollback path for an outage, but treat it as temporary. The NGINX documentation shows that a list such as ssl_ecdh_curve X25519:prime256v1:secp384r1; removes the hybrid group, which lets you revert quickly. Keep the change version-controlled so you can restore the previous list in one step. Record the date you turned the hybrid group off and plan to re-enable it once the blocking device or client has been fixed. Leaving a classical-only list in place indefinitely reduces protection, so set a review date when you make the change.
Do the sources say anything about hosted services and managed load balancers?
The sources listed on this page do not say anything about hosted services, managed load balancers or cloud provider defaults. Ask each provider directly: which TLS libraries they run, whether hybrid groups are offered by default, and whether they accept X25519MLKEM768 from clients. Ask for the dated documentation that answers each question, and confirm the answer against your own test results on that provider's endpoints. Do not assume a hosted service behaves like the OpenSSL or nginx builds described here.
How the baseline and hybrid tests decide the next step
Start with a classical X25519 test and a hybrid X25519MLKEM768 test against the same hop, using the same openssl s_client command with only the -groups value changed. If both succeed, the hop is clear for hybrid key exchange. If only the classical test succeeds, investigate that hop and the size of the ClientHello, since the larger hybrid message is the usual trigger. If the hybrid test fails with a group error, check the OpenSSL or nginx build version and the ssl_ecdh_curve setting. If the server times out, review the DEFAULT group list and the sibling pages on hop isolation.
Decision path from the classical baseline and hybrid test to the next check.
When a rollout needs outside help
Some estates cannot move to hybrid key exchange through a standard change window alone. Change managers should flag a rollout for outside help when the estate has many hosts that need the same checks, when some servers cannot be upgraded past the builds that handle the hybrid group correctly, when appliances or managed services sit outside the team's control, or when the environment is regulated and auditors will ask for test evidence. In each case the work changes shape: the inventory, the per-hop tests and the configuration edits become a program that needs a named owner, a record of every hop tested, and a rollback path for each component.
DeployOpen can plan, upgrade, configure and document these components inside your own infrastructure. For a fleet, that covers building the inventory of TLS terminators, running the baseline and hybrid openssl s_client tests on each firewall, proxy and load balancer path, and recording the $ssl_curve results after rollout. For servers that cannot move past the affected builds, it covers the upgrade path or the isolation options. For appliances and managed services, it covers working with your vendor's documented settings, since the team cannot change them directly. DeployOpen also prepares the change records, test logs and configuration evidence that a compliance team needs. Confirm the exact OpenSSL and nginx builds, and whether each vendor offers a supported hybrid setting, from that vendor's documentation before the work is scoped.
DeployOpen prepares systems, controls and evidence for compliance assessments. It does not issue audit reports, attestations or certifications; independent auditors and certification bodies do. DeployOpen is not an official partner, reseller or certified provider of any vendor named in this checklist, including OpenSSL, nginx and Go. Scope, deliverables and timelines are agreed in writing before work starts, and the written scope is what sets the effort and cost for your change.
How DeployOpen helps plan and test a TLS post-quantum rollout across an estate
DeployOpen plans a hybrid TLS key exchange rollout as a change across every firewall, proxy, load balancer and client path in scope, not as a single server setting. We scope the estate, build a classical baseline and a hybrid test for each hop, and hand over a written checklist your change board can review and repeat.
How we scope
- We list every TLS hop in scope, from client to origin, including firewalls, proxies and load balancers.
- We confirm which OpenSSL, nginx, Go and browser versions run on each component before any change is made.
- The written scope names the hops covered, the groups to test and the change windows, and engagements are fixed-scope.
How we build
- We run a classical baseline with
openssl s_client -groups X25519through each hop, then repeat with X25519MLKEM768. - We check
openssl list -tls-groupsandopenssl list -kem-algorithmson each build to confirm hybrid group support. - We set group lists explicitly, for example prepending
?X25519MLKEM768:to DEFAULT, and log$ssl_curvein nginx to record what clients negotiated.
How we hand over
- You receive a per-hop test record showing the classical and hybrid results, with the exact commands used.
- The checklist covers pre-change inventory, the change itself, post-change tests and rollback steps for each component.
- We document known failure patterns, such as the CVE-2026-2673 fix version check, so your team can repeat the tests independently.
How we support
- Ongoing support, upgrades and continuous re-testing after each OpenSSL or vendor update are available as a retainer.
- We re-run the hop tests when a firewall, proxy or load balancer firmware or library version changes.
- Ask your change manager to confirm the retainer scope and re-test frequency in the written quote before work starts.

