Why NGINX connections fail after a client offers a hybrid key exchange
When a connection through NGINX stalls or resets after a client offers a hybrid key exchange, the failure is on the server that terminates TLS, and the handshake itself fails. This is not a fallback to plaintext, so no data is sent unprotected. The web operator or platform engineer who runs NGINX owns the fix, and the change is made in the NGINX configuration rather than in the client. Clients that offer a hybrid group such as X25519MLKEM768 will not connect until the server can negotiate a group they both support.
One common cause is an explicit ssl_ecdh_curve list that leaves out the hybrid group. The directive is set in the http or server context and defaults to auto, which uses the curve list built into the installed OpenSSL library. An explicit value replaces that built-in list, so a line such as ssl_ecdh_curve X25519:secp384r1; removes any hybrid group the client might offer. Run nginx -T to dump the active configuration and search for ssl_ecdh_curve in every included file, then check the installed OpenSSL version with nginx -V, since the default list follows that version.
The urgency depends on how many of your clients offer hybrid key exchange, and the sources listed on this page for the directive do not give a traffic share, so measure it in your own logs or on a test client before deciding. In mailcow issue 7366, an NGINX image built with OpenSSL 3.5.6 and configured with ssl_ecdh_curve X25519MLKEM768:X25519:X448:secp384r1; caused X25519MLKEM768 clients to fail with alert 40, while classical X25519 connections worked. The thread did not identify a cause, and the issue was closed as not planned on 29 Sep 2026, so confirm the behavior with openssl s_client -groups X25519MLKEM768 against your own build before relying on a hybrid group in an explicit list.
Who has to act on the NGINX server and the client
A failed hybrid handshake through NGINX usually has one of three owners: the operator who controls the configuration and the NGINX build, the user whose client offers the group, and the vendor or image maintainer when a packaged build behaves differently. Identify which of them controls the failing part before you change anything.
The operator who controls nginx.conf
The operator owns the ssl_ecdh_curve directive in the http or server context and decides which groups NGINX accepts. Setting ssl_ecdh_curve to an explicit list replaces the built-in list, so every curve that your certificates and clients need must appear in it. Before editing, run nginx -T to capture the active configuration, then check whether an explicit list was set in a parent block or an included file. Test changes with nginx -t and apply them with nginx -s reload.
The operator who controls the package or image
The operator also owns the NGINX build and the OpenSSL library it links against, because the default group list follows the installed OpenSSL version. Run nginx -V to see the compiler version and configure parameters, and nginx -v to confirm the release. A host that runs an older OpenSSL build may not offer hybrid groups under ssl_ecdh_curve auto;, so changing the package may be the fix rather than the configuration.
The client user offering the group
The client user controls which key exchange groups the browser or command-line tool offers. Confirm the negotiated group from the client side with openssl s_client -connect host:443 -servername host -groups X25519MLKEM768, and compare it with a classical group such as X25519. If the client offers the hybrid group but the handshake still fails, the problem is on the server or a network device, not in the client settings.
The vendor or image maintainer
When a packaged NGINX image behaves differently from another image with the same directive, the maintainer of that image owns the build. In the mailcow report, the mailcow image built with OpenSSL 3.5.6 failed the hybrid handshake with an explicit group list, while the vanilla NGINX Alpine image negotiated the same group, and no cause was identified in the thread. Compare the build details of both images, then raise the difference with the maintainer and include the failing handshake output.
mailcow issue 7366Hosted NGINX services you do not control
On a hosted NGINX service, you may be able to change your own server blocks, but you usually cannot change the OpenSSL build or the default group list. Check whether the provider exposes ssl_ecdh_curve or ssl_conf_command in your configuration area. If neither is available, the fix belongs to the provider, so send them the failing openssl s_client output and ask which OpenSSL version and default groups they run.
How to check which OpenSSL and curve list NGINX uses
This sequence establishes which NGINX version, OpenSSL build and curve configuration are in effect, then tests what a client actually negotiates. The output shows whether the hybrid group X25519MLKEM768 is offered and completed, or whether the handshake fails with a negotiated group of NULL.
Read the installed NGINX version
Run
nginx -von the host that terminates TLS for the affected site. The command prints the NGINX version number, which tells you which directives and variables are available. The directivessl_ecdh_curveappeared in versions 1.1.0 and 1.0.6, and the multi-curve list andautovalue require nginx 1.11.0 or later. You are done when you have the version string in your notes. If the host runs NGINX in a container, run the same command inside the container, since the image may differ from the host package.Check the OpenSSL build and configure parameters
Run
nginx -Vto print the compiler version and configure parameters along with the version. Look for the--with-openssl=option and the OpenSSL version reported in the build line, becauseautobuilds its curve list from the OpenSSL library, not from nginx itself. Confirm that the OpenSSL version meets the requirements in the facts: OpenSSL 1.0.2 or higher for the curve list andssl_conf_command, and OpenSSL 3.0 or higher for the$ssl_curvevariable. You are done when you have recorded the OpenSSL version that nginx was built against. Note that the runtime library can differ from the build library, so check the loaded library too if the two may disagree.Dump the active configuration
Run
nginx -Tto print the full configuration that nginx has loaded, including every included file. This is the configuration in effect, not the one you believe is in effect. Search the output forssl_ecdh_curveandssl_conf_command, since both can set the groups the server offers. Note the context each directive sits in (httporserver), because aserverblock value overrides anhttpblock value. Ifssl_conf_commandsetsGroupsorCurves, that list also controls offered groups. You are done when you know every directive that touches key exchange and the block it belongs to. Confirm the active file withnginx -tas well, since it reports the file path and whether the syntax is valid.Note whether an explicit curve list is set
Decide whether the active configuration uses
ssl_ecdh_curve auto;, the default, or an explicit colon-separated list. The facts state that an explicit list replaces the built-in list rather than adding to it, so any list must include every curve the certificates and clients need. An explicit list that omitsX25519MLKEM768will not offer that group, and a client that requires it will fail. Record the exact value and the server block it applies to, since you will compare it with the test output in the next steps. You are done when you can state either that the list isautoor that it is a specific list of named curves.Test the negotiated group with openssl s_client
From a host that can reach the server, run
openssl s_client -connect host:443 -servername host -groups X25519MLKEM768, replacinghostwith the site name. The-connectoption sets the target,-servernamesets the SNI value, and-groupsoffers only the hybrid group. Look for the line that beginsNegotiated TLS1.3 group:and read the group name that follows it. A successful handshake reports the group name and ends with a completed session. Run the same command with-groups X25519as a classical control, so you can see whether the failure is specific to the hybrid group. You are done when you have both results side by side.Read a failed handshake and a NULL negotiated group
A failed handshake shows an error line in the output, such as one containing
SSL routinesandhandshake failure, followed by anSSL alert numbervalue. In the mailcow report (issue 7366), a client that offered X25519MLKEM768 against a server list beginning with that group failed with the alertSSL alert number 40, and the output showedNegotiated TLS1.3 group: <NULL>. A<NULL>value means no group was agreed, so the handshake did not complete. Compare the control run: if-groups X25519succeeds while the hybrid run shows<NULL>, the server is rejecting or failing the hybrid group. Record the exact error text and alert number, because the vendor or issue tracker will ask for them.Match the test result to your configuration
Compare the negotiated group with the curve list from step four. If the hybrid group is not offered, the cause is in the configuration. If it is offered but the handshake still fails, the build or the OpenSSL library is the next place to look. The mailcow report also recorded that the vanilla
nginx:1.30.3-alpineimage with the same directive negotiated the group, and no cause was identified in that thread, so a build difference is worth checking against a known-good build. Confirm the exact versions of nginx and OpenSSL from steps one and two against the release notes and the nginx CHANGES file. You are done when you have one of two findings: a configuration gap or a build-level difference that needs a vendor or community answer.
Causes of the failure and the fix for each
This table lists the four causes behind stalled or reset NGINX handshakes once a client offers a hybrid group, with the change each one calls for. Read it top to bottom, matching the cause that fits your configuration and OpenSSL build, then confirm the negotiated group after reloading.
| Cause | What causes it | Fix |
|---|---|---|
| Explicit ssl_ecdh_curve list without the hybrid group | An explicit list replaces the built-in list, so a hybrid group such as X25519MLKEM768 is never offered by the server. | Add the hybrid group to the list and keep classical fallbacks such as X25519 and secp384r1 after it. |
| Hybrid group listed without a classical fallback | The list includes the hybrid group but omits the classical curves every client needs, so clients that cannot use it have no common group. | Keep at least one classical group after the hybrid group in the same ssl_ecdh_curve line. |
| OpenSSL too old to offer the group | The OpenSSL library linked into nginx does not provide the hybrid group, so the server cannot offer it no matter what the directive lists. | Check the OpenSSL version nginx was built against with nginx -V, then upgrade nginx or rebuild it against a newer OpenSSL that offers the group. |
| Packaged image built with a different OpenSSL | A container image may be built with one OpenSSL version while the running environment loads another, so the group behaves differently at runtime (mailcow issue 7366 reported this pattern). | Compare the build-time OpenSSL version reported by nginx -V with the runtime library in the container, then rebuild or pin the image so both match. |
| Auto default following the installed OpenSSL | With the default ssl_ecdh_curve auto, the groups offered come from the installed OpenSSL, so upgrading or downgrading OpenSSL changes what clients see. | Set an explicit list if you need stable groups, or verify the groups offered after any OpenSSL change using openssl s_client with -groups. |
| Vanilla nginx image with the same directive | The thread in mailcow issue 7366 reports the vanilla nginx:1.30.3-alpine image negotiating X25519MLKEM768 with the same directive, and no cause was identified for the failure seen in the other image. | No fix is identified in the thread. Confirm the negotiated group from your own image with openssl s_client before assuming it behaves the same way. |
Decision path from the failed handshake to the fix
The path starts when a client offers a hybrid key exchange group such as X25519MLKEM768. NGINX checks the groups in its ssl_ecdh_curve list against what its OpenSSL build supports. If a compatible group is found, the handshake completes. If not, the client receives alert 40 (handshake failure) and the connection stalls or resets. The operator then adjusts ssl_ecdh_curve or ssl_conf_command, runs nginx -t and nginx -s reload, and confirms with openssl s_client -groups X25519MLKEM768, checking that **Negotiated TLS1.3 group** shows a real group rather than empty.
Path from a hybrid key exchange offer to the configuration fix and recheck.
What to change in nginx.conf, in order
This sequence confirms the installed OpenSSL version, sets an explicit curve list that keeps the hybrid group and the classical groups your clients need, checks the file, and reloads NGINX so the change takes effect without dropping connections. Each step ends with a check so you know it finished.
Confirm the installed OpenSSL version
Run
nginx -Von the host to see the compiler version and configure parameters, which show the OpenSSL build NGINX was linked against. Runnginx -vto confirm the NGINX version. The hybrid group X25519MLKEM768 depends on OpenSSL 3.0 or higher, because the$ssl_curvevariable and the default group list behave differently on older builds. If the reported OpenSSL version is below 3.0, plan an upgrade of the NGINX build before changing the directive. You know this step is done when you have written down both version numbers and whether the OpenSSL line meets the 3.0 requirement.Upgrade the NGINX build if OpenSSL is too old
If step one shows OpenSSL older than 3.0, move to an NGINX build linked against a newer OpenSSL, using your distribution's package, a vendor package, or a container image that states its OpenSSL version. Owners of packaged installs should ask the distribution or vendor which OpenSSL version the package uses. Skip this step if the version already meets the requirement. You know this step is done when
nginx -Vreports an OpenSSL version of 3.0 or higher on the host that will serve traffic.Set ssl_ecdh_curve in the http or server block
Open nginx.conf and find the http block or the server block that terminates the affected connections. Either leave the default
ssl_ecdh_curve auto;in place, which uses the groups built into the installed OpenSSL, or set an explicit list such asssl_ecdh_curve X25519MLKEM768:X25519:X448:secp384r1;. An explicit list replaces the built-in list, so include every group your clients need. Only use a list that you have tested against your real clients. The mailcow issue reports that this exact list caused handshake failures for X25519MLKEM768 clients on one image, while the vanilla NGINX image with the same directive negotiated the hybrid group. Confirm the behavior in your own environment before you rely on it. You know this step is done when the directive appears once in each intended block with the list you chose.Add ssl_conf_command Groups only if needed
Use
ssl_conf_command Groups ...;only when thessl_ecdh_curvedirective cannot express what you need. NGINX documents that configuring OpenSSL directly might result in unexpected behavior, so treat this as an exception. The directive needs NGINX 1.19.4 or higher and OpenSSL 1.0.2 or higher, and it is inherited only if the current level defines none. OpenSSL documentsGroupsas a colon-separated list, andCurvesas a synonym. If you add it, record the reason in the change ticket and test the connection with the commands in the verification step. You know this step is done when you can state whyssl_ecdh_curvealone was insufficient, or when you have confirmed the step is not needed and left it out.Test the configuration with nginx -t
Run
nginx -tto check the syntax and the referenced files. Runnginx -Tif you need to review the full effective configuration, including included files, before you reload. A failed test prints the file and line number of the problem; fix it and run the test again. Do not reload NGINX until the test passes. You know this step is done whennginx -treports that the configuration syntax is ok and the test is successful.Reload NGINX with nginx -s reload
Run
nginx -s reloadto load the new configuration gracefully. NGINX starts new worker processes with the new settings and lets existing workers finish their connections. Confirm the reload succeeded by checking the NGINX error log for new messages and by confirming that the service is still accepting connections. You know this step is done when the reload command returns without error and the error log shows no new startup failures.Notes for packaged and containerized installs
In packaged and containerized installs, the OpenSSL version in the image or package sets the defaults, not the NGINX configuration alone. A container built on an older base image can keep the old defaults even after you edit nginx.conf, so rebuild or pull an image with a newer OpenSSL, then repeat the checks above inside the container. Ask the image maintainer which OpenSSL version it ships. You know this step is done when
nginx -Vrun inside the running container reports the OpenSSL version you expect.
How the fix differs by installation method
Packages installed from your Linux distribution's repositories link nginx against the system OpenSSL, so the groups nginx can offer follow whatever OpenSSL version the distribution ships. Because ssl_ecdh_curve auto; defers to the installed library, the default group list changes when the OpenSSL package is updated, not when nginx is updated. Your distribution's security and update channels control that version, which means you usually change the library through the package manager and only tune nginx directives in the configuration.
- Find the OpenSSL version: Run
nginx -Vand read thebuilt with OpenSSLline, which reports the library the binary was compiled against. - Check the runtime library: Run
openssl versionto see the OpenSSL that the system loads, since it can differ from the build-time version after a library update without an nginx restart. - Update through the package manager: Upgrade the OpenSSL and nginx packages together using your distribution's tools, then restart nginx so the new library is loaded.
- Limit the directive if needed: An explicit
ssl_ecdh_curvelist replaces the built-in list, so include every group your clients and certificates need. - Confirm after changes: Run
nginx -t, reload withnginx -s reload, and test withopenssl s_clientusing the group you expect.
Confirm the OpenSSL version in nginx -V and openssl version match before you assume a package update changed the offered groups.
Official nginx container images bundle their own OpenSSL build, so the version is fixed by the image tag you pull, not by the host operating system. Your host's OpenSSL package does not affect what runs inside the container. Changing the library means moving to a different image tag or building your own image, while the ssl_ecdh_curve directive remains a configuration change you make in the mounted file.
- Read the image's OpenSSL version: Run
nginx -Vinside the running container, for example withdocker exec, and read thebuilt with OpenSSLline. - Pin the image tag: Use a specific tag rather than a floating one so the bundled OpenSSL does not change unexpectedly during a redeploy.
- Change the library by changing the image: Pull or build a newer image tag, then restart the container with the new image.
- Change behavior by changing configuration: Mount the updated nginx configuration and reload nginx inside the container with
nginx -s reload. - Verify from outside the container: Use
openssl s_clientfrom a host or client to confirm the negotiated group matches what you configured.
Check the image tag and the in-container nginx -V output together, because the tag alone does not always show the bundled OpenSSL build.
Some NGINX builds ship inside a vendor product or appliance, and the vendor decides the OpenSSL version and build options. In this case you may not be able to change the library at all, and the vendor's release notes and support channel determine whether a newer OpenSSL or a patched build is available. Your control is usually limited to the directives the vendor exposes, so you need to confirm what the vendor permits before changing anything.
- Read the bundled version: Run
nginx -Von the appliance or the vendor's shell, if one is provided, and record thebuilt with OpenSSLline. - Check what the vendor allows: Review the product documentation for supported directives and whether
ssl_conf_commandorssl_ecdh_curvemay be set in your configuration. - Ask the vendor about the library: Request the OpenSSL version and whether a post-quantum capable build is planned, since the sources supplied for this topic do not say what any particular vendor ships.
- Avoid unsupported edits: Changing the library or the build inside a vendor appliance can break support, so confirm with the vendor first.
- Confirm with a client test: Use
openssl s_clientwith the group you expect to verify the result after any approved change.
Before planning a fix, confirm with the vendor whether the library is replaceable and which configuration changes are supported.
How to confirm the NGINX handshake now completes
Confirm the fix from the client side first. Rerun the test with the group that failed, using openssl s_client -connect host:443 -servername host -groups X25519MLKEM768, where the host is your public name. The -connect option sets the target, -servername sends the SNI value that your server block matches, and -groups limits the offer to the hybrid group so the result is not hidden by a classical fallback. Look for a Negotiated TLS1.3 group line that names X25519MLKEM768. A <NULL> value, or a handshake that ends with SSL alert number 40 (handshake failure), means the problem is still present. Note the OpenSSL version on the test machine, because the client's own library determines which groups it can offer.
Next, check the NGINX side. Make sure the handshake completes without alert 40 in both the client output and the error log, and watch the error log after the reload for new SSL_do_handshake entries. Run nginx -t before reloading, then nginx -s reload, and repeat the client test from more than one network path, since a load balancer or proxy in front of NGINX can change what the client sees. To see which curve is used for live traffic, add $ssl_curve to an access log format. This variable reports the negotiated key exchange curve for new sessions, but it is only populated with OpenSSL 3.0 or higher and is an empty string on older builds, so check nginx -V for the OpenSSL version first. The nginx 1.27.5 release of 16 Apr 2025 fixed a bug in $ssl_curve and $ssl_curves when pluggable curves are used, so confirm your build is at least that version if you rely on these variables.
What can break when the curve list changes
Changing ssl_ecdh_curve alters which key exchange groups NGINX offers and accepts, so a change that looks cosmetic can cut off clients that depend on a group you removed. The cards below cover the clients, automation and build settings that most often turn a curve list change into a handshake failure.
Older clients that only offer classical groups
Clients built before hybrid key exchange only offer classical groups such as X25519 or secp256r1. If your explicit ssl_ecdh_curve list drops those groups, these clients have no curve in common with the server and the handshake fails. Before you narrow the list, check the user agents and TLS fingerprints in your access logs for clients that never offer a hybrid group, and confirm that every client you must still serve appears in the list. Keep classical groups in the list until that check is complete.
Automation and CI runners pinned to one curve
Health checks, monitoring probes and deployment tests often pin a single group, for example with openssl s_client -groups. When you change the server list, these jobs can start failing even though real users still connect. Search your pipelines and monitoring configuration for -groups and -curves flags and for hardcoded group names, and update them together with the server change. Treat a failing probe as a signal to review the probe, not only the server.
Explicit lists replace the built-in list
With OpenSSL 1.0.2 or higher, a value set in ssl_ecdh_curve replaces the list that OpenSSL would otherwise use, so it is not added to it. Any curve you omit is no longer offered, even if the certificate and clients still need it. Compare your explicit list against the default auto behavior on the same OpenSSL build, and confirm that every curve your certificates and clients require is listed. Moving back to auto restores the library's list.
Unexpected behavior from ssl_conf_command
The ssl_conf_command directive passes raw OpenSSL configuration to the server, and nginx warns that doing so may produce unexpected behavior. A Groups or Curves command sets a colon-separated list that can override or conflict with ssl_ecdh_curve, so the group you think is in effect may not be. If you use ssl_conf_command, remove any group settings you no longer need, test the result with nginx -t, and confirm the negotiated group with a client check after the change.
FIPS and compliance-mode builds
Builds of OpenSSL or NGINX operating in FIPS or another compliance mode may restrict which key exchange groups can be used, so a group that works on a standard build may be refused on yours. Check whether your OpenSSL build runs in a compliance mode before you add or remove groups, and ask your platform or vendor which groups are permitted. The sources listed on this page do not say which groups any specific FIPS build allows, so confirm this against that build's documentation.
When to get help with the NGINX change
Some NGINX changes are small enough for the operator to make and verify alone: one or two servers, a version of OpenSSL that the operator can change, and a single ssl_ecdh_curve line that can be tested with nginx -t and checked with openssl s_client before the reload. Escalate when that does not hold. The most common cases are: the operator cannot upgrade the OpenSSL library that nginx is built against, which limits the groups that auto can offer; many hosts or a fleet share the same configuration and a change must be rolled out and checked across all of them; or the server runs a packaged image, as in the mailcow report, where the same directive behaved differently between the vanilla nginx:1.30.3-alpine image and the mailcow image built with OpenSSL 3.5.6 and running with 3.5.7. In that case the cause may sit in how the image was built, and the reader should compare the nginx -V output of each image before changing anything else.
A regulated environment that needs evidence of the change should also escalate early. The evidence usually includes the configuration before and after, the output of nginx -T, the openssl s_client results showing the negotiated group, and the version output from nginx -v and nginx -V, all tied to a dated change record. Ask for this to be planned up front, not assembled after the fact. The sources on this page do not say which evidence any particular auditor or regulator requires, so the reader should confirm that with the assessor.
DeployOpen can plan, upgrade, configure and document the nginx, OpenSSL and packaging components involved, and test the change before it goes to production. A scoping call is the right first step: it defines which hosts, images and client types are in scope, what must be tested, and what the written deliverables are. Scope, deliverables and timelines are agreed in writing before work starts, and a quote follows from that scope.
Questions people ask after an NGINX handshake failure
Is the connection still encrypted when the NGINX handshake fails?
No. When the handshake fails, the TLS session is never established, so the client receives no encrypted session and no application data is exchanged. The failure shows up as a handshake alert on the client side, and the connection is closed or stalls before any request is served. A failed handshake does not fall back to plaintext on its own. The practical risk is availability: clients that offered the hybrid group cannot connect until the configuration is corrected, and clients that retry with classical groups may still connect. Confirm the outcome by testing the endpoint with the client that failed, rather than assuming the traffic is protected or unprotected.
Is an NGINX handshake failure urgent to fix?
It is urgent for any service that hybrid-capable clients need to reach, because those clients cannot establish a connection while the failure persists. The urgency depends on which clients are affected and whether they have a classical fallback. Start by checking the NGINX version with nginx -v and the configured groups with nginx -T, then test with a client that offers the hybrid group. The mailcow issue 7366 report describes X25519MLKEM768 clients failing with a handshake failure while classical X25519 still worked, so an explicit list that omits hybrid groups can break the path for some clients. Scope the impact before scheduling the change, and confirm the timing with your own change management process.
Can the NGINX handshake error be ignored or silenced?
No. Silencing the error, for example by suppressing logs or retrying in a loop, hides the cause without restoring the connection. The error reflects a mismatch between the groups the client offers and the groups the server accepts, so the handshake will keep failing for affected clients. The correct response is to find which directive or library setting restricts the list, adjust it, and then reload with nginx -s reload after nginx -t passes. If you must temporarily disable a change, record the reason and the rollback steps, so the underlying compatibility issue is still tracked and retested.
Why does this NGINX handshake error appear now?
The error usually appears when a client starts offering a hybrid key exchange group that the server does not accept. Before that, the same server could handle every connection because clients only offered classical groups. The ssl_ecdh_curve directive sets the curves the server supports, and an explicit list replaces the built-in list. If the list omits the hybrid group a client now offers, the handshake cannot complete. The default value auto follows the OpenSSL library version, so an upgrade of the library can also change which groups are offered without any edit to NGINX. Compare the client's offered groups with the server's configured list to see the mismatch.
What should I do if I cannot upgrade the NGINX server?
If you cannot upgrade, the main options are to keep a classical list in place and isolate the clients that need hybrid groups. Keeping a classical list means the server keeps accepting the groups it accepts today, so existing clients continue to connect. Isolating affected clients means identifying which clients offer hybrid groups and routing them to an endpoint that can serve them, or documenting the gap for the owners of those clients. Verify each option with openssl s_client using the -groups flag and check the negotiated group. The sources on this page do not define a supported upgrade path for every NGINX build, so confirm with your distribution or vendor which OpenSSL version is bundled.
Do I need outside help to fix an NGINX handshake failure?
You can often fix this in-house if you can read the NGINX configuration, identify the OpenSSL version, and run test connections. Outside help is worth considering when the failure affects a shared or regulated service, when the configuration is generated by tooling you do not control, or when multiple load balancers and proxies sit in the path. DeployOpen implements, hardens, upgrades and documents self-hosted platforms in the client's own infrastructure, and it runs security testing for those environments. The engagement is fixed-scope, with scope and timelines agreed in writing before work starts, and DeployOpen does not publish a price list. Ask for a written scope before deciding.
How do I confirm the NGINX fix worked?
Confirm the fix by testing the same client that failed and checking the negotiated group. Run openssl s_client -connect host:443 -servername host -groups X25519MLKEM768 against the endpoint and verify that the handshake completes and that a group is reported. On the server, the $ssl_curve variable returns the negotiated curve, but it is supported only with OpenSSL 3.0 or higher and is an empty string otherwise. Also test a classical client to confirm existing connections still work. Keep the test results with the change record so the fix can be checked again after a future upgrade.
How DeployOpen helps with NGINX post-quantum handshake fixes
DeployOpen works through NGINX hybrid key exchange failures in four stages: scoping the affected servers and clients, configuring the curve list and OpenSSL build, testing handshakes against real clients, and handing over the configuration with evidence. Engagements are fixed-scope, with the work agreed in writing before it starts, and ongoing support is available as a retainer.
How we scope
- Inventory each NGINX instance, its version, and the OpenSSL build it links against.
- Record the current ssl_ecdh_curve value and whether it is set to auto or an explicit list.
- Agree in writing which clients, certificates and server blocks are in the fixed scope.
How we build
- Adjust the ssl_ecdh_curve list so it includes every curve that certificates and clients need.
- Check the OpenSSL version and the groups it offers, and test any ssl_conf_command changes in staging first.
- Confirm the negotiated group from representative clients using openssl s_client with the -groups option.
How we hand over
- Deliver the final configuration, with the nginx -T dump and the exact directives changed.
- Document the handshake tests run, the clients tested, and the negotiated group each one returned.
- Provide a rollback procedure using the previous configuration and a graceful nginx -s reload.
How we support
- Retest after NGINX or OpenSSL upgrades, since the auto list follows the installed OpenSSL version.
- Review logs and the $ssl_curve and $ssl_curves variables when new client failures appear.
- Ongoing support and continuous testing are available as a retainer, agreed separately from the fixed scope.

