Find which hop breaks a post-quantum TLS connection

A TLS connection that stalls or resets after a hybrid post-quantum key exchange is offered usually breaks at one hop. This page shows how to isolate that hop with openssl s_client and curl, then what to change.

On this page

Why a post-quantum TLS connection breaks at one hop and who has to act

When a TLS connection resets, stalls or fails the moment hybrid key exchange is offered, the usual cause is a device between the client and the server, or an older server, that cannot handle the larger ClientHello. The owner of the failing hop must act, which is often a network, security or platform team and not the person whose browser or program triggered the error. Because the connection never finished its handshake, this is not a downgrade: no session was established with weaker protection, so there is nothing to roll back. The right first step is to find which hop fails before you change any client or server setting, since disabling hybrid key exchange everywhere would hide the problem rather than fix the device that causes it.

A hybrid group such as X25519MLKEM768 adds key share data to the ClientHello, which can push the message past the size that fits in a single TCP packet. The tldr.fail site reports that buggy servers are not prepared to call read() more than once to read the whole ClientHello, and that in Chrome the symptom is ERR_CONNECTION_RESET or a similar error. A Go issue (70047) records a Palo Alto firewall rejecting a ClientHello split across two TCP frames with ssl_partial_client_hello_incomplete. Microsoft's Edge documentation says devices that do not implement TLS correctly may disconnect on unrecognized options or larger messages, and that administrators should contact the vendor for a fix. Confirm the exact device model and firmware with its vendor before concluding which hop is at fault.

Who has to act at each hop: client, server, middlebox and vendor

A failed post-quantum TLS connection can be caused by any party along the path, and each one controls a different setting. Knowing who owns which hop tells you whom to ask for a change and what you can test yourself before you escalate.

Client user or developer

The client decides which key exchange groups it offers in the ClientHello. In a browser, that is set by the product's default and any enterprise policy. In a command-line tool or library, it is set by flags or configuration such as openssl s_client -groups or curl --curves. Check which groups your client offers before you blame the server, and use the groups option to compare a hybrid handshake against a classical one.

SSL_CONF_cmd docs

Server operator

The server operator controls the group preferences and the TLS library. In nginx, the ssl_ecdh_curve directive sets which groups are accepted, and its default is auto. The nginx documentation does not mention X25519MLKEM768, so confirm that your build's OpenSSL supports the hybrid group and that the directive does not exclude it. Check the TLS library version on the server, not only the web server version.

nginx SSL module docs

Firewall or proxy administrator

A firewall or proxy that inspects TLS may read, rewrite or drop the ClientHello. A larger hybrid ClientHello can split across TCP frames, and some inspection engines reject a partial ClientHello outright. Ask the administrator whether TLS inspection is on for the path and whether the device logs a partial ClientHello error. Testing the same handshake with and without the inspecting device in the path isolates it quickly.

Go issue 70047

Device vendor

Some devices do not implement TLS correctly and disconnect when they see unrecognized options or larger messages. You cannot fix that in configuration alone, so the vendor must ship a fix. Microsoft's Edge documentation, dated 3 November 2026, says administrators should contact the vendor for a fix in this situation. Collect the failing handshake capture and the exact firmware or software version before you open the vendor case.

Edge policy docs

Hosted service customer

On a hosted service you usually cannot change the provider's server or the path it runs through, so your controls are limited to the client you run and the network you own. You can test the hosted endpoint with a client that offers different groups, and you can ask the provider which groups it accepts. Your change requests should go to the provider, and your own firewall and client settings remain yours to test and adjust.

How to test each hop with openssl s_client and curl

This sequence tests the same server from your own network with a classical and a hybrid key exchange, so you can see whether a handshake fails only when the hybrid group is offered. Comparing the two results narrows the fault to a specific hop, such as a firewall, proxy or load balancer that cannot handle the larger ClientHello.

  1. Confirm the local OpenSSL version

    Run openssl version -a on the machine you test from to record the installed OpenSSL build and its OPENSSLDIR setting. Then run openssl list -tls1_3 -tls-groups to list the TLS 1.3 groups this build implements. Confirm that the hybrid group X25519MLKEM768 appears in the output. If it does not, the client side cannot offer that group, and the test results will not show a server fault. Save both outputs with your test notes so the test can be repeated later.

  2. Check the curl build and its libraries

    Run curl --version on the same machine to print the curl, libcurl and linked third-party library versions on its first line. Record the TLS library named in that output, because it determines which groups curl can offer. Use the same network path for the curl tests as for the openssl tests, so that the results can be compared directly. Do not change the client between tests.

  3. Offer only the hybrid group

    Run openssl s_client -connect host:443 -servername name -groups X25519MLKEM768, replacing host, name and 443 with the server, the SNI name and the port you are testing. This offers only the hybrid group. A completed handshake shows the server accepts it. If the command stalls, resets or ends with an error, note the message and the point where it stopped. Repeat the test only after confirming the host, port and SNI values are correct.

  4. Offer only classical X25519 for comparison

    Run openssl s_client -connect host:443 -servername name -groups X25519 with the same host, port and SNI name. This offers only classical X25519, which uses a much smaller ClientHello. If this handshake completes while the hybrid test failed, the fault is tied to the larger hybrid message. If both tests fail, the fault is more likely in the server path or the certificate setup, so check those next.

  5. Read the negotiated group line

    In a successful output, look for the line Negotiated TLS1.3 group: followed by a group name. If no peer temporary key is available, OpenSSL prints this line. Otherwise, look for Peer Temp Key: followed by the key type, such as ECDH, then the curve name and bit size. Confirm that the group in the output matches the group you offered. A mismatch means a device on the path is changing the handshake, so record the exact line before moving on.

  6. Trace where the handshake stops

    For a failing connection, rerun the hybrid test with -msg or -trace added to show the protocol messages as they are sent and received. Look for the last message the client sent and whether the server replied. A stop after the ClientHello, with no ServerHello, suggests a device dropped or stalled the message. Keep the trace output, because it shows which hop to inspect with the device owner.

  7. Compare curl results from the same network

    Run curl --curves X25519MLKEM768 --verbose against the same host from the same network, then run curl --curves X25519 --verbose for comparison. Lines prefixed with * show connection details, including the TLS handshake. The --curves option is available in curl 7.73.0 and later, so confirm your version from the earlier curl --version output. If the curl results match the openssl results, the fault is in the path, not in one tool.

Causes of a failed hybrid handshake and the fix for each

This table maps each known cause of a failed post-quantum TLS handshake to the check that confirms it and the fix the sources support. Start with the check column to match what you observe, then apply the fix in the same row. Vendor fixes are the durable route, and the rows that point to a group prefix are temporary workarounds.

CauseHow to check itFix from the sources
Firewall rejects a split ClientHelloLook for ssl_partial_client_hello_incomplete in the firewall log. Go issue 70047 reports this on a Palo Alto firewall when the ClientHello arrives in two TCP frames.Keep the hybrid group out of predicted key shares by prefixing ?X25519MLKEM768. Ask the firewall vendor for a fix, which is the durable route.
Server reads the ClientHello in one read() call onlyConnections reset or stall when the hybrid ClientHello is sent. tldr.fail says buggy servers do not call read() more than once to read the whole ClientHello.Upgrade or patch the server TLS stack so it reads the full ClientHello. Ask the server vendor for a fix. Use the client-side temporary workaround only while waiting.
Server ssl_ecdh_curve lacks the hybrid groupRun openssl s_client -connect host:443 -groups X25519MLKEM768 and compare it with -groups X25519. The nginx ssl_ecdh_curve documentation does not mention X25519MLKEM768, so check your build and configuration.Confirm the server's TLS library supports X25519MLKEM768 in your version, then add it to the group list. Verify the list with the same s_client test.
Client build predates the hybrid groupRun openssl version and curl --version to see library versions, then openssl list -tls1_3 -tls-groups to see which TLS 1.3 groups the client implements.Update the client library or build to one that lists X25519MLKEM768. Where you cannot update, set the group list explicitly with the Groups setting or the -groups option, and confirm the handshake again.

What to change at the failing hop, in order

This sequence moves from the least invasive fix to the most targeted workaround, so each change is tested against the same handshake before the next one is made. Work through it in order and stop once a connection completes with a hybrid group negotiated.

  1. Update the TLS library or device firmware

    Where the failing hop is a firewall, proxy, load balancer or other appliance, check the vendor's advisories for a fix to its TLS handling of larger ClientHello messages, and ask the vendor directly if none is listed. Apply the firmware or library update in a test environment first, then to the production device. Confirm the fix by repeating the connection test from the earlier steps: the handshake should complete without a reset or stall. Vendors may not have published a fix, so treat a missing advisory as an open question to raise with them, not as confirmation that none exists.

  2. Check which groups the client OpenSSL offers

    Run openssl list -tls1_3 -tls-groups on the client to list the TLS 1.3 groups the installed OpenSSL implements, and confirm that X25519MLKEM768 appears. If it is absent, the client build cannot offer the hybrid group and the fix is an OpenSSL upgrade. Record the output so you can compare it after each change. This step is complete when you know whether the hybrid group is available at all.

  3. Set the group list for OpenSSL 3.5 clients

    On OpenSSL 3.5 clients, limit the groups offered with the -groups option, for example openssl s_client -connect host:443 -groups X25519MLKEM768, or with the Groups command in a configuration file. Prefixing the hybrid group with ? makes it optional, and omitting the * prefix keeps it out of the predicted key shares, which the OpenSSL manual says can avoid problems with large ClientHello messages. Compare with -groups X25519 to see whether the failure depends on the hybrid group. Group names are case-insensitive in OpenSSL 3.5 and later.

  4. Configure nginx groups only if supported

    For nginx, the ssl_ecdh_curve directive takes a colon-separated list with OpenSSL 1.0.2 or higher. Add the hybrid group only after confirming that the OpenSSL your nginx build links against supports it, since the nginx documentation does not mention X25519MLKEM768. Check the build with nginx -V and the OpenSSL version it reports, then reload the configuration with nginx -t followed by a reload. The package or container image you run may bundle a different OpenSSL, so verify the version inside the running container rather than the host.

  5. Use the Go GODEBUG setting as a temporary measure

    For Go 1.24 and later, the default enables X25519MLKEM768, and GODEBUG=tlsmlkem=0 reverts that default for buggy TLS servers that do not handle large records and cause a handshake timeout. Use this only as a temporary measure while the server is fixed, because it disables the hybrid group for every connection from the process. Set the variable in the environment of the service, restart the process, and confirm with the crypto/tls ConnectionState.CurveID value that the connection no longer uses CurveID 4588.

  6. Reload or restart each changed component

    Changes to firewall, proxy and load balancer settings usually need a reload or restart to take effect, and the procedure differs by product, so check its documentation for whether a reload is enough or a full restart is required. For packaged installs, the service manager usually handles this, while container installs need the container recreated with the new image or environment. Confirm the change took effect by repeating the connection test and checking that the negotiated group matches what you set.

  7. Retest and record the result

    Repeat the connection test from the client to the server, both with the hybrid group offered alone and with the classical X25519 group, and compare the two handshakes. Record the group negotiated, the tool and version used, and the component changed. The handshake is fixed when the hybrid connection completes, or when you have documented an intentional fallback to a classical group with the reason it was chosen.

How the fix differs by client, server and hosted environment

Browsers offer hybrid key agreement by default, and enterprise administrators control the behavior through policy. Microsoft's Edge policy PostQuantumKeyAgreementEnabled is obsolete and was removed starting in Edge 147, so post-quantum key agreement is enabled by default and cannot be disabled on that version or later. Firefox still exposes the PostQuantumKeyAgreementEnabled policy, available since Firefox 127 (ESR 128), and its related preferences are security.tls.enable_kyber, network.http.http3.enable_kyber and media.webrtc.enable_pq_hybrid_kex.

  • Edge 147 and later: the policy is gone, so you cannot switch hybrid key agreement off through configuration.
  • Firefox policy: set PostQuantumKeyAgreementEnabled through your management tooling where the policy applies.
  • Vendor device faults: Microsoft notes that devices which do not implement TLS correctly may disconnect on unrecognized options or larger messages, and says administrators should contact the vendor for a fix.
  • Preference names: use the three Firefox preference names above when you check what a client has set.
  • Edge version: confirm the installed Edge version before you assume the policy is available.

Check the client version and the policies applied to it before you change any server, since the browser may be offering the larger handshake.

How to confirm the hop works again after the change

Start by rerunning the test that isolated the fault, so you can compare the result with the earlier failure. From a host on the same network path as the client that failed, run openssl s_client -connect host:443 -servername host -groups X25519MLKEM768 and look for a line that starts with Negotiated TLS1.3 group: or Peer Temp Key:. Either line shows that the handshake completed with the hybrid group and that the connection was not reset. If the output ends with a reset, a timeout, or no key exchange line at all, the hop still drops the connection and the change did not reach it. Then run the same command with -groups X25519 as a control. A clean classical handshake next to a clean hybrid handshake shows the fault is cleared for the hybrid group specifically, not just that the path works in general.

Next, rerun curl --verbose from the client or a machine that matches it. The * lines should show the TLS handshake finishing and the HTTP response arriving, with no reset before the response. If you need to force the hybrid group, use --curves X25519MLKEM768 (curl 7.73.0 or later, which you can confirm with curl --version`), and check that the version and linked TLS library on your client are the ones you intended to test. Keep the exact command and output in the change record so a later reviewer can compare them.

Once the tests pass, watch the device that previously failed. Check its logs for the same error pattern you saw before the change, such as a dropped or partial ClientHello, a reset, or a handshake timeout, and confirm that it no longer appears over a period of normal traffic. Firewalls and proxies often log these events under their TLS inspection or decryption categories, so review those views as well as the general connection logs. Note the time window you reviewed and the traffic volume it covered, because a short quiet period can hide intermittent failures.

Do not treat one successful test as proof that every client can connect. A test from one network, one device, or one client build only exercises that path. Clients that are older, managed by a different policy, or routed through another firewall or proxy may still fail, and the sources on this page do not say how large the set of affected devices is. Repeat the test from a representative set of clients and networks, and keep the failure logs open for a longer period than you would for a simple configuration change. Confirm with the device vendor whether any firmware update is needed for the hybrid handshake.

What can break after you change the group list

Changing the TLS group list affects more than the server you edit. The sources below cover four places where a changed list can break a connection that worked before, and one temporary switch that lowers protection while you find the failing hop.

Older clients and automation

Older clients, scripts and automation tools often offer only classical groups such as X25519 or secp256r1. If your server list now prefers a hybrid group, these clients may still connect, but a server or appliance that requires a hybrid group can refuse them. Before you remove a classical group, run openssl s_client -connect host:443 -groups X25519 against the endpoint and confirm the handshake completes. Check every scheduled job and monitoring probe that connects to the service, not only browsers.

s_client options

CI runners with pinned OpenSSL

CI runners and build images often pin an OpenSSL or curl build that was compiled before the group list changed. Those builds may not implement the group you now prefer, so a test that passed yesterday can fail after a configuration update. Run openssl version -a and curl --version on the runner image itself, then run openssl list -tls1_3 -tls-groups to confirm which group names that build knows. Rebuild or repin the image when a required group is missing.

openssl list docs

One group list across many servers

A single group list set in a shared configuration file, such as the Groups command in an OpenSSL configuration or ssl_ecdh_curve in nginx, is applied to every server that loads it. A change that suits one platform can break another that handles large handshakes differently. Test the new list on one representative server per platform, then roll it out in stages. Keep a record of which servers received which list so you can roll back the right ones.

nginx ssl module docs

Temporary disable lowers protection

Turning hybrid key exchange off, for example with GODEBUG=tlsmlkem=0 in Go or a browser policy, restores the connection but removes post-quantum protection for that path. Record which hop you disabled it for, why, and who approved it, then revert the setting once the failing hop is fixed. Confirm the reversion with a fresh handshake that shows the hybrid group again.

Go GODEBUG docs

When to bring in outside help with the failing hop

Bring in outside help when the failing hop is a component you cannot change yourself. If the firewall, proxy or load balancer that drops the hybrid ClientHello belongs to a vendor, a managed provider or another team, the fix is usually a firmware or software update, a vendor-supplied configuration change or a support case. Confirm in the device's documentation or with its vendor whether a fixed version exists and what the change involves. If the failing server belongs to someone else, such as a partner, a supplier or a hosted service, you need that owner to test and change the server, so plan that conversation before you start the upgrade work. Microsoft's Edge documentation says that devices which do not implement TLS correctly may disconnect on unrecognized options or larger messages, and that administrators should contact the vendor for a fix, which is the same pattern you will likely face with an appliance you do not control.

Get help as well when the same symptom appears across many hosts or sites. A single failing device in front of several services, or a pattern shared across unrelated applications, points to a common component, and fixing each host separately will not hold. Experts can help you map the affected paths, compare traces from working and failing connections, and decide which component to change first. The tldr.fail site reports that buggy servers may not call read() more than once to receive the whole ClientHello, and that in Chrome the symptom often appears as ERR_CONNECTION_RESET, so the same visible error can come from several different causes. Careful sorting of these causes saves time and avoids changing hosts that work correctly.

A regulated environment often needs more than a working connection. Auditors and internal assurance teams may ask for the inventory of affected components, the configuration before and after each change, the test results and the approvals for each step. DeployOpen can plan, upgrade, configure, test and document the components involved, and prepare the evidence that your auditors will ask for. DeployOpen does not issue audit reports or certifications, and it does not act as a partner, reseller or certified provider of any vendor named on this page. The independent auditor or certification body makes the assessment, and your vendors remain responsible for their own products. Ask any outside party for a written scope, a list of deliverables and a dated record of the work before the change begins.

Questions people ask when the handshake fails after hybrid key exchange is offered

Is my connection still encrypted when the handshake fails?

No data is exchanged when the handshake stalls or fails, because a TLS session is only established once the handshake completes. The client and server never agree on keys, so no application data, credentials or page content flow over that connection. The failure is a blocked connection, not a weakened one. Confirm this in your own environment by checking that the client reports a reset, timeout or handshake error and that no HTTP response comes back. Traffic that was already established on other connections is not affected by this specific failure.

Is a failed post-quantum handshake urgent to fix?

It is urgent when the affected service is one your users or systems depend on, because the connection is down for every client that offers the hybrid group and is routed through the failing device. It is less urgent as a security matter, since the failure blocks connections rather than exposing data. Scope the impact first: which hosts, which client versions and which network paths are affected. A temporary workaround can restore service while you schedule the real fix on the failing hop.

Can I silence the warning instead of fixing the failure?

No. Hiding the message does not restore the connection, and the failure will continue for any client that offers the hybrid group through the same device. The durable fix is to remove the cause: upgrade or reconfigure the firewall, proxy, load balancer or client that cannot handle the larger ClientHello. If you must restore service quickly, a temporary change to the client or server's offered groups can work, but treat it as a stopgap and record it for later reversal.

Why does this handshake failure appear now?

Hybrid key exchange sends a larger ClientHello than classical TLS does, and some network devices and servers were not built to handle it. Clients began offering hybrid groups by default in recent browser and runtime releases, so traffic that used to pass now reaches devices that mishandle the bigger message. Go issue 70047 describes a firewall rejecting a ClientHello that was split across two TCP frames, and the tldr.fail site reports that many servers cannot read a ClientHello that spans more than one read. The failure surfaces when a client upgrade meets an older hop, not because the server changed.

What should I do if I cannot upgrade the device in the path?

Ask the device vendor for a fix first, because the Microsoft Edge documentation says devices that do not implement TLS correctly may disconnect on larger messages and that administrators should contact the vendor. If no fix is available, reduce what the client offers so the handshake fits the device. You can test whether a single group avoids the problem by comparing a classical X25519 handshake with an X25519MLKEM768 handshake using openssl s_client -groups. Where the client supports it, placing a hybrid group in the list without the * prefix keeps it out of predicted key shares, which can avoid the large first message. Isolate the device's traffic in your change record and plan its replacement.

How do I confirm which hop is causing the failure?

Run the same connection twice from the same client: once offering only the hybrid group and once offering only classical X25519, then compare results. Use openssl s_client -connect host:443 -groups X25519MLKEM768 and openssl s_client -connect host:443 -groups X25519, adding -msg or -trace to see where the exchange stops. If the classical attempt succeeds and the hybrid one stalls or resets, the cause is in the path or on the server's handling of the larger message. Repeat the test from a host on the same network as the server to see whether the device between them is responsible.

Should I bring in outside help for this failure?

Bring in outside help when the failing device belongs to a vendor you cannot change quickly, when the failure affects production traffic across several services, or when your team cannot reproduce the failure in a test path. Scope the engagement in writing before work starts, including which hops are tested, what changes are allowed and how results are reported. DeployOpen can support this work by testing the connection from client to server and isolating the failing firewall, proxy or load balancer, then documenting the fixes and the retest. Ask any provider for the exact deliverables and timelines in the written scope, since the result depends on your topology and vendors.

How DeployOpen helps you find and fix the failing hop

DeployOpen works through the path between client and server one hop at a time, so the device that drops a post-quantum TLS connection is identified from evidence rather than guessed. The work covers the probes, captures and configuration checks described on this page, and ends with a written record of which hop failed and what change fixed it. Engagements are fixed-scope, with the scope agreed in writing before any testing starts.

How we scope

  • We list every hop between the affected clients and the server, including firewalls, proxies, load balancers and any TLS termination point.
  • We agree which client builds, server versions and key exchange groups the written scope will test, such as X25519MLKEM768 against classical X25519.
  • We confirm the change window, access to device logs and who at your organization approves changes to each hop before work begins.

How we build

  • We run controlled handshakes with openssl s_client and curl, comparing hybrid and classical groups from the same test host.
  • We capture the ClientHello and server response at each hop to find where the connection resets, stalls or receives an unexpected message.
  • We check the TLS library and runtime versions on each client and server, and record which device changes the outcome when it is bypassed.

How we hand over

  • You receive a written report that names the failing hop, the evidence for it, and the commands used so your team can rerun them.
  • The report lists the configuration or vendor-update options for the failing device, with the owner and the verification step for each.
  • We retest the connection after the agreed fix and document the result, including any hop that still needs vendor action.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer if hybrid key exchange changes again after the fix.
  • Support covers rechecking the same path after firewall firmware, load balancer or client library updates on the affected hops.
  • Retainer scope, response expectations and fees are set in writing, and we do not publish a price list, so a quote follows from the agreed scope.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.