Does an nginx upgrade for post-quantum key exchange mean a new nginx version?
Post-quantum hybrid key exchange in nginx comes from the OpenSSL build nginx is compiled against, not from an nginx feature. The upgrade therefore centers on OpenSSL 3.5.0 or later together with a key-exchange setting in nginx, not on a particular nginx release. As of 2026-12-03, the facts reviewed for this page list no nginx-specific post-quantum release. The nginx changelog has no entry that mentions post-quantum or groups, and the nginx ssl module documentation does not list post-quantum groups among the values of ssl_ecdh_curve. Platform engineers, security leads and vendor-risk reviewers who need to record an answer should therefore check the OpenSSL version and build of each nginx binary in service, rather than only the nginx version number.
The NGINX blog post dated 2025-12-03 states that nginx must be compiled against OpenSSL 3.5 or later for post-quantum support, and gives ssl_ecdh_curve X25519MLKEM768:X25519:prime256v1; as an example. OpenSSL 3.5.0, released 2025-04-08, adds ML-KEM and its default TLS group list includes hybrid groups such as X25519MLKEM768. OpenSSL 3.0.x distributions lack this support unless the OQS provider is added. Confirm the library version by running nginx -V and reading the OpenSSL line, since the operating system package may be built against an older library even when the nginx version is recent. Also confirm the support status with the distribution or vendor, because the facts do not say which packaged builds include OpenSSL 3.5.
Certificates and package signing are not changed by this key-exchange upgrade. The nginx ssl module documentation does not state a required certificate key size or signature algorithm, so certificates remain whatever RSA or ECDSA files the operator supplies. The nginx.org package signing keys are RSA, with two rsa4096 keys created 2024-05-29 and one rsa2048 key created 2011-08-19 expiring 2027-05-24, so installing updated packages still depends on RSA signatures. Plan certificate and signing changes as separate work items.
Which version, edition and component each fact applies to
This table lists each nginx component and the version or edition it covers, what its source says about post-quantum support or settings, and the date the source was checked. Read each row only for the component named in it, because open-source nginx, NGINX Plus and the OpenSSL library under them have different facts. Items the sources do not cover are listed in the rows below and should be confirmed with the vendor or your own build.
| Component | Version or edition | What the source says | Source and date checked |
|---|---|---|---|
| nginx Open Source (stable and mainline) | Stable 1.30.8 and mainline 1.31.10, both released 2026-11-23 | Lists the current releases and the 2-clause BSD License. The nginx.org home page does not describe post-quantum algorithms for these versions. | nginx.org home, checked 2026-12-03 |
| NGINX Plus LTS build | PLS.37.0.9.1, dated 2026-11-23, on an NGINX Open Source 1.29.8 base | Release notes list this build. They do not state post-quantum support for it in the facts available. | NGINX Plus releases, checked 2026-12-04 |
| NGINX Plus current build | PLS.37.3.1.1, dated 2026-11-23, on an NGINX Open Source 1.31.8 base | Release notes list this build. They do not state post-quantum support for it in the facts available. | NGINX Plus releases, checked 2026-12-04 |
| NGINX Plus R33 and R36 | R33 dated 2024-11-19; R36 dated 2025-12-01 | R33 added initial support for Post Quantum Cryptography. R36 added support for OpenSSL 3.5. | NGINX Plus releases, checked 2026-12-04 |
| OpenSSL library under nginx | 3.5.0, released 2025-04-08 | Adds ML-KEM, ML-DSA and SLH-DSA. Its default TLS group list includes hybrid post-quantum KEM groups such as X25519MLKEM768. Post-quantum key exchange in nginx depends on this library, not on an nginx feature. | OpenSSL 3.5 release notes, checked 2026-12-03 |
| OpenSSL 3.0.x and 3.1.x | 3.0.x and 3.1.x | The NGINX blog says these lack post-quantum support unless the OQS provider is added. Post-quantum signature algorithms cannot be used for TLS 1.3 server authentication on these versions. | NGINX blog, PQC support in NGINX, dated 2025-12-03 |
| ssl_ecdh_curve directive | Default auto; example X25519MLKEM768:X25519:prime256v1 in the NGINX blog | Auto uses the curve list built into the linked OpenSSL. The nginx docs page does not mention post-quantum or hybrid groups. The blog example requires nginx built against OpenSSL 3.5 or later. | nginx ssl module docs, checked 2026-12-03; NGINX blog, dated 2025-12-03 |
| $ssl_curve and $ssl_sigalg variables | $ssl_curve added in 1.21.5 (OpenSSL 3.0 or higher); $ssl_sigalg added in 1.29.3 (OpenSSL 3.5 or higher) | $ssl_curve reports the negotiated key-exchange curve. $ssl_sigalg needs OpenSSL 3.5 or higher, so it depends on the build. | nginx CHANGES and nginx ssl module docs, checked 2026-12-03 |
What changes in the TLS handshake when key exchange is upgraded
nginx does not implement the TLS handshake itself. It hands the handshake to the TLS library it was linked against, so the key-exchange groups it can offer depend on the OpenSSL build on the host, not on the nginx version alone. Per the nginx ssl module docs, ssl_ecdh_curve defaults to auto, which uses the curve list built into OpenSSL. For a post-quantum change, the first thing to confirm is the OpenSSL version nginx is linked against, since the NGINX blog says post-quantum support requires OpenSSL 3.5 or later. The nginx changelog has no post-quantum feature entry, so the upgrade path runs through the library.
OpenSSL 3.5.0, released 2025-04-08, has a default TLS group list that includes and prefers hybrid post-quantum groups, with X25519MLKEM768 and X25519 offered as default key shares. This means an nginx build on OpenSSL 3.5 or later may negotiate a hybrid group under auto without any change to the configuration. The operator should not assume this from the version number alone. Check which group is actually negotiated, for example with the $ssl_curve variable (added in 1.21.5), and confirm it on a test host before relying on it in production.
The NGINX blog example sets ssl_ecdh_curve X25519MLKEM768:X25519:prime256v1; explicitly, which fixes the preference order rather than leaving it to the OpenSSL default. Setting the list explicitly is a choice to make and document, and it also decides which groups a client that lacks hybrid support will fall back to. Key share sizes and client support for these groups are not stated on this page, so the engineer should measure handshake size and test the client mix in a staging environment. The nginx docs do not say how the ssl_ecdh_curve list interacts with certificate key types, so test that combination too.
Which parts of nginx the upgrade touches and what each means
A post-quantum change to nginx is less a single switch than a set of components that each carry part of the handshake or the trust chain. The cards below separate the TLS library from the nginx settings that pick key-exchange groups, the upstream settings, the certificates, the package signing keys and the conf-level overrides, so each can be checked on its own.
The TLS library build
nginx hands the TLS handshake to the OpenSSL build it was compiled against, so the post-quantum key-exchange groups available to it come from that library rather than from an nginx feature. The nginx changelog has no post-quantum entry. The NGINX blog says nginx must be compiled against OpenSSL 3.5 or later for post-quantum support, and that OpenSSL 3.0.x distributions lack it unless the OQS provider is added. Check the version and build flags of the binary in use, not only the version of the operating system package.
NGINX PQC postThe ssl_ecdh_curve setting
The ssl_ecdh_curve directive in the HTTP and stream modules defaults to auto, which uses the curve list built into OpenSSL. Set explicitly, it takes a colon-separated list, and the NGINX blog gives X25519MLKEM768:X25519:prime256v1 as an example. The nginx ssl module page does not mention post-quantum or hybrid groups, so confirm the accepted group names against the OpenSSL build rather than the nginx documentation. Curves used by ECDSA certificates must stay in the list.
Upstream proxy_ssl settings
Connections from nginx to backend servers use the proxy_ssl_* settings, which the proxy module page documents without mentioning curves or key-exchange groups. proxy_ssl_protocols defaults to TLSv1.2 and TLSv1.3, and proxy_ssl_verify defaults to off, so upstream certificates are not checked unless configured. Key exchange toward backends therefore needs its own review, because the ssl_ecdh_curve setting on the listening side does not govern it. Confirm with the proxy module documentation and a test against a real backend.
Certificates and ssl_certificate_key
The ssl_certificate and ssl_certificate_key directives load PEM files with no default, and the nginx documentation does not state a required key size or signature algorithm. Those properties come from the files the operator supplies. ssl_certificate can be repeated for RSA and ECDSA keys, and the key may come from an engine, a store or a variable. Inventory each certificate's key type and signature algorithm from the file itself, and plan reissue with the issuing authority.
Package signing keys
Linux packages from nginx.org are checked against the signing key at nginx.org/keys/nginx_signing.key. The page lists two rsa4096 keys created in 2024 and one rsa2048 key created in 2011 that expires on 2027-05-24, and Alpine uses a separate 2048-bit RSA key. Package signing therefore depends on RSA, which is part of the inventory even though it does not sit on the client handshake. Ask the packager which key signs the build in use and how key rotation is announced.
nginx Linux packagesConf-level overrides via ssl_conf_command
The ssl_conf_command directive, available since 1.19.4, passes arbitrary OpenSSL configuration commands such as Ciphersuites. Because it bypasses nginx's own handling, the documentation warns that configuring OpenSSL directly might result in unexpected behavior. Any post-quantum or group change made through it should be recorded and tested on the exact build, since a setting that works on one OpenSSL version may be rejected or ignored on another.
How the upgrade differs by build: open source, NGINX Plus, or a distribution package
A self-built nginx takes its post-quantum key exchange from the OpenSSL library it is compiled against, not from an nginx feature. The nginx changelog has no entry that adds post-quantum groups, so the build decides what is available. The NGINX blog states that nginx must be compiled against OpenSSL 3.5 or later for post-quantum support, and OpenSSL 3.5.0, released 2025-04-08, offers hybrid groups such as X25519MLKEM768 in its default group list.
- OpenSSL version: Compile against OpenSSL 3.5 or later. Confirm the version with
nginx -Vand the linked library path. - Group selection: Set
ssl_ecdh_curveexplicitly, for exampleX25519MLKEM768:X25519:prime256v1as the NGINX blog shows, rather than relying onauto. - Build options: Record the OpenSSL path and version used in the build, since the nginx docs say key-exchange groups depend on the linked library.
- Signatures: The nginx docs name no ML-DSA or SLH-DSA setting, so certificate signatures come from the certificate files you supply.
- Support: Nginx.org's stable and mainline builds are open source under the 2-clause BSD License, and the site does not state a post-quantum or validation claim for them.
Check the library version and the negotiated group in a test handshake before treating any build as ready.
Packages from nginx.org are open-source builds distributed for Linux, and their post-quantum behavior depends on the OpenSSL they link against. The nginx.org home page lists stable nginx 1.30.8 and mainline 1.31.10, both released 2026-11-23, under the 2-clause BSD License. The project site states that enterprise distributions and commercial support come from F5, Inc.
- Linked library: Confirm which OpenSSL the package uses. A package built against OpenSSL 3.0 or 3.1 cannot use post-quantum signatures for TLS 1.3 server authentication, according to the NGINX blog.
- Package verification: Linux packages are checked against keys at nginx.org/keys/nginx_signing.key. The listed keys include rsa4096 and rsa2048 PGP keys, so package signing depends on RSA.
- Alpine builds: Alpine uses a separate 2048-bit RSA signing key, so verify against that key for those packages.
- Settings: The same directives apply as in a self-built build, with
ssl_ecdh_curveand the certificate files set by you. - Vendor statements: The nginx.org pages do not state a post-quantum claim for open-source packages.
Before relying on a package, check its linked OpenSSL version and confirm the group it negotiates.
NGINX Plus is the commercial edition, and its release notes record post-quantum milestones. Release R33, dated 2024-11-19, added initial support for post-quantum cryptography, and R36, dated 2025-12-01, added support for OpenSSL 3.5. The current long-term and current builds are PLS.37.0.9.1 on an NGINX Open Source 1.29.8 base and PLS.37.3.1.1 on 1.31.8, both dated 2026-11-23.
- Release choice: Pick the LTS build (PLS.37.0.9.1) or the current build (PLS.37.3.1.1) and check which release added the post-quantum support you need.
- TLS library: The FIPS page says NGINX Plus uses only the operating system's FIPS-validated OpenSSL for TLS, HTTP/2 and HTTP/3.
- Library dependency: Because TLS comes from the operating system's OpenSSL, post-quantum groups depend on the OS OpenSSL version, not only on the NGINX Plus release.
- No FIPS or PQC statement: The FIPS page does not mention post-quantum algorithms or CNSA 2.0, so do not read it as a post-quantum statement.
- Roadmap: The NGINX blog gives an image roadmap only for Debian 13 and Ubuntu 26.04, with no dated algorithm roadmap.
Ask the vendor which OS OpenSSL version a given Plus build expects and whether it is validated for the post-quantum groups you plan to use.
Systems that ship OpenSSL 3.0.x or 3.1.x lack built-in post-quantum support, and the NGINX blog says the OQS provider is the only route it names for adding it. On these versions, post-quantum signature algorithms cannot authenticate TLS 1.3 servers, so a certificate-based post-quantum signature setup is not possible on these builds.
- Key exchange: Post-quantum key exchange on 3.0.x distributions requires the OQS provider, which the NGINX blog names as the route.
- Signatures: Post-quantum signatures for TLS 1.3 server authentication are not usable on OpenSSL 3.0.x and 3.1.x, per the NGINX blog.
- Version check: Run
nginx -Vand the OpenSSL version command on the host to confirm the library. - Upgrade path: Moving to OpenSSL 3.5 or later is the path the NGINX blog describes for built-in post-quantum support.
- Isolation: Where a system cannot be upgraded, record it as an exception in your inventory.
Identify every host still on OpenSSL 3.0.x or 3.1.x before planning settings, because the setting changes will have no effect there.
Steps to plan the upgrade in order, with the check that closes each
The sequence moves from confirming the current nginx and OpenSSL build, through setting the key-exchange group explicitly, to testing and documenting what still depends on RSA or ECDSA. Each step ends with a check that shows whether the change took effect, so the plan can be recorded as complete or stopped at a known point.
Confirm the nginx build and linked OpenSSL version
Run
nginx -Von each host to record the nginx version and the TLS library it was compiled against. Note whether the build is NGINX Open Source, NGINX Plus, or a distribution package, because the OpenSSL version that matters is the one linked into the binary, not the one shown by the operating system'sopenssl versioncommand. Confirm the version with the vendor or distribution if the output is unclear. The step closes when every host in scope has a recorded nginx version and linked OpenSSL version. The $ssl_curve variable, available from nginx 1.21.5 on OpenSSL 3.0 or higher, can confirm the negotiated group later, and $ssl_sigalg from 1.29.3 on OpenSSL 3.5 or higher can report signature algorithms.Decide the target OpenSSL version
Choose the OpenSSL release the nginx build will link against. The OpenSSL 3.5 release notes state that the 3.5.0 default TLS group list includes hybrid post-quantum KEM groups, with X25519MLKEM768 and X25519 offered as default key shares. The NGINX blog post dated 2025-12-03 says nginx must be compiled against OpenSSL 3.5 or later for post-quantum support, and that OpenSSL 3.0.x distributions lack it unless the OQS provider is added. Record the decision and the reason, and confirm with the nginx build or distribution that OpenSSL 3.5 or later can be used. The step closes with a written target version per host or image.
Set ssl_ecdh_curve explicitly with the hybrid group first
The ssl_ecdh_curve directive defaults to auto, which uses the list built into OpenSSL, so the default may change with the library. Set it explicitly in the http or server context. The NGINX blog gives X25519MLKEM768:X25519:prime256v1 as an example setting, with the hybrid group listed first and classical groups after it. Keep ECDSA certificate curves in the list, since the nginx docs say curves used by ECDSA certificates must be present. Treat the example as illustrative and confirm it against the target build. The step closes when
nginx -tpasses on a test host and the directive is in version control.Test with clients and middleboxes
Before changing production, test handshakes from the clients that reach the server, including browsers, API clients, mobile apps and backend services, plus any load balancer, firewall or inspection device on the path. Some middleboxes may fail on larger key-share messages, so record any handshake failures, retries or fallbacks. Who runs the test depends on the environment, but the platform team usually owns the nginx side and the network team owns the path. The step closes with a test result per client class showing successful handshakes, or a list of failures with owners.
Keep classical fallback and confirm the negotiated group
Keep classical groups such as X25519 or prime256v1 in ssl_ecdh_curve so clients that do not offer the hybrid group can still connect. Then confirm what was negotiated by logging $ssl_curve in the access log format or by testing with a client that reports its group. The nginx docs state that $ssl_curve reports the key-exchange curve on OpenSSL 3.0 or higher. The step closes when logs or test output show both a hybrid group negotiated with a capable client and a classical group negotiated with a client that does not offer the hybrid group.
Record the RSA and ECDSA dependencies that remain
Inventory the public-key dependencies that stay in place after the key-exchange change. The key-exchange group is one part of the picture: server certificates still use RSA or ECDSA, as set by the certificate files loaded with ssl_certificate. Record each certificate's key type from the files, upstream client certificates set with proxy_ssl_certificate, and the nginx package signing keys. The nginx Linux packages page lists rsa4096 and rsa2048 PGP keys, and Alpine uses a 2048-bit RSA key. The nginx docs do not name post-quantum signature settings for nginx, so record these as open items. The step closes with a signed inventory table listing each item, its key type, and its owner.
Document the vendor questions still open
Write down what the nginx project, F5 or your distributor has not yet answered. Open items may include whether a post-quantum signature algorithm will be supported for certificates, whether a dated roadmap exists for NGINX Plus, and what FIPS-validated OpenSSL status means for post-quantum groups, since the NGINX Plus FIPS page does not mention post-quantum algorithms. Send each question to the named vendor contact, record the date sent and the response, and mark which items remain unanswered. The step closes when the open-questions list has a named owner and a date for each entry.
What the sources do not publish and what to ask the vendor
The nginx project and F5 publish some post-quantum facts for nginx, but the changelog, module docs and FIPS page leave several upgrade questions unanswered. The cards below list each gap as of 2026-12-03 and the question to put to F5 or the NGINX project.
No nginx-specific post-quantum changelog entry
The nginx CHANGES file has no entry containing the words post-quantum or groups, so post-quantum key exchange in nginx comes from the OpenSSL build rather than an nginx feature. Ask the NGINX project which nginx versions were tested with post-quantum key exchange and whether any nginx release will add a post-quantum setting of its own. Until then, treat the linked OpenSSL version as the controlling factor and record it for each build.
nginx changelogNo ML-DSA or SLH-DSA settings
The nginx docs name no ML-DSA or SLH-DSA settings for certificates or signatures. The only signature-related statement is the NGINX blog limit that post-quantum signature algorithms cannot be used for TLS 1.3 server authentication on OpenSSL 3.0.x and 3.1.x, and the blog does not name ML-DSA. Ask F5 whether nginx will load ML-DSA or SLH-DSA certificates through ssl_certificate and what OpenSSL version that requires.
NGINX PQC blogNo dated algorithm roadmap
The NGINX blog lists a roadmap only for Debian 13 and Ubuntu 26.04 image support, with no dated plan for which post-quantum algorithms or certificate types will follow. Ask F5 for a dated plan covering key exchange, signatures and package signing, and ask whether the roadmap covers NGINX Open Source as well as NGINX Plus. Record any answer with its date, since the blog is dated 2025-12-03.
NGINX PQC blogFIPS page silent on post-quantum
The NGINX Plus FIPS page says TLS uses the operating system's FIPS-validated OpenSSL and that NGINX Open Source is not verified for FIPS environments. It does not mention post-quantum algorithms or CNSA 2.0. Ask F5 whether the FIPS-validated OpenSSL module on your operating system includes post-quantum algorithms and whether it is covered by a validation certificate.
NGINX Plus FIPS pagessl_ecdh_curve omits hybrid groups
The ssl_ecdh_curve page in the nginx ssl module docs does not mention post-quantum or hybrid key-exchange groups. Its default of auto uses whatever list OpenSSL provides, so the groups in use depend on the library build. Ask the NGINX project to document which hybrid groups, such as X25519MLKEM768, each supported build accepts in ssl_ecdh_curve and whether the docs will list them.
nginx ssl module docsProxy module omits upstream curve settings
The nginx proxy module docs do not mention curves or key-exchange groups for upstream connections. proxy_ssl_protocols and proxy_ssl_ciphers are set, but nothing states which groups nginx offers when it connects to a backend, and proxy_ssl_verify defaults to off. Ask F5 whether proxy_ssl connections can use hybrid key exchange, which setting controls it, and whether upstream certificate verification will be documented alongside it.
nginx proxy module docsWhat can go wrong when changing key-exchange settings
Changing the key-exchange settings in nginx can appear to succeed while the handshake does not actually use a post-quantum group, so each change should be tested against an observable result rather than the config file alone. The first failure mode is the build. The nginx ssl module docs state that ssl_ecdh_curve auto uses whatever curve list OpenSSL provides, and the NGINX blog says nginx must be compiled against OpenSSL 3.5 or later for post-quantum support. A build against OpenSSL older than 3.5 will accept a setting such as ssl_ecdh_curve X25519MLKEM768:X25519:prime256v1 without an error, yet offer no post-quantum group. Test step: run openssl version against the library nginx was linked to (for example with nginx -V), then check the negotiated group with the $ssl_curve variable in an access log, which the changelog says reports the curve on OpenSSL 3.0 or higher.
The second failure mode is a curve list that omits the curves used by your certificates. The docs say curves used by ECDSA certificates must appear in ssl_ecdh_curve, so adding a post-quantum group while dropping prime256v1 or secp384r1 can break handshakes for ECDSA clients or for the certificate itself. Keep the classical curves your certificates require in the list, and test each certificate type separately (RSA and ECDSA can both be loaded through repeated ssl_certificate directives). Test step: after each change, complete a handshake with a client that presents only an ECDSA-capable configuration and confirm it succeeds, then repeat for RSA. Larger key shares are the third risk. A hybrid group sends a bigger client key share, and some clients, load balancers or inspection devices in front of nginx may reject or truncate the handshake. The facts do not state the size of these shares, so confirm the expected size with the library documentation and test through each middlebox on the actual path, not only directly against nginx.
The fourth risk is ssl_conf_command. The docs say it passes arbitrary OpenSSL configuration commands and warn that this might result in unexpected behavior, so an override such as a group or cipher-suite entry can silently conflict with ssl_ecdh_curve or with the library defaults. Test step: when using ssl_conf_command, record the effective configuration after reload and compare the negotiated group and cipher suite against the value you intended. The final risk is a classical fallback that hides the absence of hybrid negotiation. If a client does not offer the post-quantum group, the handshake proceeds on X25519 or P-256 with no error, so a dashboard showing successful TLS says nothing about post-quantum use. Test step: connect with a client that is known to offer the hybrid group and another that does not, and confirm the logged curve differs between them. Treat any connection that logs a classical curve as not using post-quantum key exchange, and record the result with the nginx version, OpenSSL version and settings tested.
Questions engineers ask about upgrading nginx for post-quantum key exchange
Is nginx quantum safe?
nginx does not provide post-quantum key exchange by itself, and the sources do not support calling it quantum safe. The nginx changelog has no entry for post-quantum support. Key exchange comes from the TLS library nginx is built with. With OpenSSL 3.5.0 or later, nginx can negotiate hybrid groups such as X25519MLKEM768 when ssl_ecdh_curve is set to include them. Certificate signatures and the RSA keys that sign nginx packages still use classical public-key algorithms, and the sources do not describe a post-quantum certificate setting for nginx. Treat post-quantum key exchange as something you can enable, and confirm each part separately.
Which OpenSSL and nginx versions do I need for post-quantum key exchange?
You need OpenSSL 3.5.0 or later, released 2025-04-08, and an nginx binary compiled against it. The NGINX blog post dated 2025-12-03 says nginx must be built against OpenSSL 3.5 or later for post-quantum support. OpenSSL 3.0.x distributions lack these groups unless the OQS provider is added, and post-quantum signature algorithms cannot be used for TLS 1.3 server authentication on OpenSSL 3.0.x or 3.1.x. Check the OpenSSL version linked into your nginx build, since a distribution package may use an older library even when the nginx version is current. For NGINX Plus, release R36 (2025-12-01) added support for OpenSSL 3.5. Confirm the exact build with your vendor or package source.
Does upgrading nginx for post-quantum key exchange cost extra?
The sources give no price for this work, so the cost has to come from a quote. The main components are the OpenSSL 3.5 build or package, testing of clients and the handshake, and any NGINX Plus subscription if you run the commercial edition. The open-source nginx and OpenSSL projects carry no license fee. Recurring costs come from ongoing patching and retesting when new library or nginx releases arrive. Ask any vendor or integrator for a written quote that separates the one-time build and test work from the recurring support, and state which nginx edition and OpenSSL version the quote assumes.
What can break when nginx negotiates post-quantum key exchange?
The main risk is that not every client or network device handles the larger hybrid key exchange, so a changed ssl_ecdh_curve can cause handshake failures for some users. The sources do not list specific clients or middleboxes that fail, so test against the clients you actually serve. Other risks: ssl_ecdh_curve defaults to auto, which follows the list built into OpenSSL, so behavior changes when the library is upgraded even if your settings do not. The ssl_conf_command directive passes OpenSSL settings directly and the docs warn of unexpected behavior. The ssl_certificate and key files are unaffected by key-exchange changes, but they still depend on RSA or ECDSA. Keep a rollback path and watch error rates after the change.
What should I ask nginx or the vendor before the upgrade?
Ask for a dated statement of post-quantum support in the exact build you run, since the nginx site and documentation checked on 2026-12-03 do not list a post-quantum feature. Ask whether the Open Source or NGINX Plus release you use is linked to OpenSSL 3.5 or later, and for the build date. Ask whether any certificate, package-signing or ML-DSA support is planned, because the nginx docs name no ML-DSA or SLH-DSA settings and the NGINX blog post does not name ML-DSA. For NGINX Plus, ask whether the FIPS-validated OpenSSL path affects which groups are available, since the FIPS page says it uses the operating system's OpenSSL and does not mention post-quantum algorithms. Ask for any roadmap commitment in writing.
Can we upgrade nginx for post-quantum key exchange ourselves, or do we need help?
Your team can make the change if it already runs nginx and can rebuild or upgrade OpenSSL, and the settings are short: a build with OpenSSL 3.5 or later and an ssl_ecdh_curve list such as X25519MLKEM768:X25519:prime256v1, as the NGINX blog example shows. The sources give no effort or duration estimate, so plan the work against your own environment. Help is useful for scoping the build, testing client and device compatibility, and producing evidence for a review. DeployOpen can scope and test this change as part of a fixed-scope engagement, with scope, deliverables and timelines agreed in writing first. It does not issue audit reports or certifications.
How DeployOpen helps plan and test an nginx post-quantum upgrade
DeployOpen works through an nginx post-quantum upgrade as a fixed-scope engagement, starting with the nginx build, the OpenSSL or NGINX Plus version and the settings in use. The work covers which directives change, what a test environment must confirm, and what the client keeps after handover.
How we scope
- Record the nginx edition, version and linked OpenSSL version on each server, since hybrid key exchange depends on the library build.
- Inventory the ssl_ecdh_curve, ssl_protocols, ssl_certificate and proxy_ssl settings that each virtual host and stream block uses today.
- Agree in writing which upstream, client-certificate and package-signing paths are in scope, and which are excluded.
How we build
- Build or verify a test host with OpenSSL 3.5 or later, then confirm the negotiated group with the $ssl_curve variable.
- Test the ssl_ecdh_curve list, including the example X25519MLKEM768:X25519:prime256v1 setting, against the clients and upstreams in use.
- Test the pre-change and post-change configurations side by side, and record which handshakes fall back to classical groups.
How we hand over
- Deliver a written record of the settings changed, the library versions tested and the test results for each server group.
- Document the rollback steps for each configuration file, so operators can restore the previous ssl_ecdh_curve value.
- Record the open items that the vendor or project has not answered, such as signature algorithm support in nginx itself.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, which cover later nginx and OpenSSL releases.
- Retest after each nginx, OpenSSL or NGINX Plus update, since the available key-exchange groups depend on the linked library.
- Confirm with your vendor or the nginx project any roadmap or notice before changing signature or certificate settings.

