How to enable post-quantum key exchange in NGINX Plus

NGINX Plus has no published switch for post-quantum key exchange. Its support comes from the OpenSSL build on the host, so enabling hybrid key exchange means meeting the OpenSSL version requirement, setting the curve list, and testing the handshake.

On this page

Can you enable post-quantum key exchange in NGINX Plus today?

If you need hybrid key exchange on NGINX Plus, the short answer as of 2026-12-03 is that NGINX Plus gets post-quantum key exchange from the OpenSSL library installed on the host, not from a dedicated NGINX Plus setting. The documentation read for this page does not publish steps for enabling post-quantum key exchange in NGINX Plus specifically. The R33 release notes dated November 19, 2024 say only that initial support for Post Quantum Cryptography was added, without naming an algorithm, an OpenSSL version or a directive.

The NGINX blog post dated December 3, 2025 describes hybrid X25519MLKEM768 key exchange, enabled by OpenSSL 3.5 and later. That post is about open source NGINX builds, not NGINX Plus, and it gives the sample ssl_ecdh_curve X25519MLKEM768:X25519:prime256v1 for those builds. Do not assume the same directive or behavior carries over to NGINX Plus without a statement from F5 or NGINX. The release notes list OpenSSL 3.5 support in R36, and the technical specs require OpenSSL 3.5.0 or later on RHEL 9.7 and 10.1, so the host OpenSSL version is the first thing to check.

Platform and security teams who run NGINX Plus should confirm three things with F5 or their support contact: which NGINX Plus release and OpenSSL build enable hybrid key exchange, whether the ssl_ecdh_curve directive applies to it, and whether the FIPS-validated OpenSSL on their operating system includes it. The FIPS page says NGINX Plus relies on the operating system's FIPS-validated OpenSSL for TLS and does not mention post-quantum cryptography, so FIPS-mode deployments need a separate answer before any change is made.

Which versions and settings the facts cover for NGINX Plus key exchange

This table lists each version, library and directive that bears on hybrid key exchange in NGINX Plus, marks whether it applies to NGINX Plus or only to open source NGINX builds, and gives the source date for each. Read the applicability column first, because the only PQC-specific statements in the facts about NGINX Plus itself are the R33 note and the sample curve list, which come from the open source NGINX blog.

ItemWhat the facts sayApplies toSource date
NGINX Plus PLS.37.0.9.1 LTS and PLS.37.3.1.1 CRNewest releases as of the release notes read on 2026-12-03NGINX PlusNovember 23, 2026
OpenSSL 1.1.1 minimumNGINX Plus requires OpenSSL 1.1.1 or later, so algorithm support depends on the host buildNGINX PlusTechnical specs, undated in facts
OpenSSL 3.5.0 minimum on RHEL 9.7 and 10.1Required on operating systems that have moved to OpenSSL 3.5NGINX PlusTechnical specs, undated in facts
OpenSSL 3.5 and OpenSSL 4.0 supportRelease notes list OpenSSL 3.5 support in R36 and OpenSSL 4.0 in the initial PLS.37 LTS releaseNGINX PlusNGINX Plus release notes, undated in facts
ssl_ecdh_curve directive, default autoDefault uses the curve list built into the OpenSSL library, and it accepts colon-separated listsNGINX Plus and open source NGINXNGINX ssl module reference, undated in facts
Sample curve list X25519MLKEM768:X25519:prime256v1Sample configuration shown in the blog for hybrid key exchange, which is an example and not a defaultOpen source NGINX builds onlyDecember 3, 2025
OpenSSL 3.5 PQC defaultsEnables NIST-approved PQC algorithms by default, with X25519MLKEM768 as the hybrid key exchange, and OpenSSL 3.0.x does not support PQCOpen source NGINX builds onlyDecember 3, 2025
R33 PQC initial supportRelease notes say only that initial PQC support was added, without naming an algorithm, OpenSSL version or directiveNGINX PlusNovember 19, 2024

How the ssl_ecdh_curve directive selects the key exchange group

The ssl_ecdh_curve directive sets which elliptic curve groups NGINX Plus offers for key exchange on its listeners. Its default is auto, which means NGINX Plus uses the list of groups built into the OpenSSL library it runs on. You can replace that default with an explicit, colon-separated list, such as prime256v1:secp384r1, and NGINX Plus accepts it. The order of the list matters for what the server offers, so the group you want preferred has to appear first. Because NGINX Plus relies on the operating system's OpenSSL build, the groups available to you depend on that build, not on the NGINX Plus release alone.

The NGINX blog's post-quantum example sets ssl_ecdh_curve X25519MLKEM768:X25519:prime256v1, which places the hybrid group X25519MLKEM768 first, followed by classical fallbacks. That example is written for open source NGINX built against OpenSSL 3.5, and the blog does not mention NGINX Plus. Before you copy the line, confirm that the NGINX Plus release you run, on an OpenSSL 3.5.0 or later build, accepts the group name X25519MLKEM768 in its own release notes or test output. Do not assume the open source group name is accepted unchanged by a commercial build.

Some OpenSSL settings are not exposed as NGINX directives. For these, the ssl_conf_command directive passes a raw OpenSSL configuration command through to the library. The NGINX documentation gives Ciphersuites TLS_CHACHA20_POLY1305_SHA256 as an example. Use it only when no dedicated directive covers the setting, and test each change on a staging listener, because the documentation warns that configuring OpenSSL directly might result in unexpected behavior. Record any ssl_conf_command lines in your change record so a reviewer can see every override that sits on top of the standard directives.

What to do to test hybrid key exchange on an NGINX Plus host

This sequence confirms that the host's OpenSSL build supports a hybrid post-quantum key exchange, applies it to a test listener, and checks the group a real client negotiates. The result is a dated, reproducible record of whether hybrid key exchange works in your environment, which is separate from any statement the vendor has made about NGINX Plus support.

  1. Confirm the NGINX Plus release and host OpenSSL build

    Run nginx -v and check the NGINX Plus release you are on against the release notes, noting the PLS build number. Then run openssl version on the same host. Per the NGINX Plus technical specs, on operating systems that have moved to OpenSSL 3.5, such as RHEL 9.7 and 10.1, the requirement is OpenSSL 3.5.0 or later. Confirm that the version shown is the one NGINX Plus actually loads, since NGINX Plus relies on the operating system's OpenSSL. Record both outputs with the date. The step is complete when you have a release string and an OpenSSL version recorded together. If the host runs an older OpenSSL, stop here and plan an OS or library update before continuing.

  2. List the group names the OpenSSL build supports

    Run openssl list -key-exchange-algorithms (or openssl list -tls-groups on builds that expose that subcommand) to see which group names the library accepts. The NGINX blog of December 3, 2025 names X25519MLKEM768 as the hybrid key exchange enabled by default in OpenSSL 3.5, but it describes open source NGINX builds, not NGINX Plus, so confirm the name in the output on your host rather than relying on that source. Save the list. The step is complete when the hybrid group name you intend to test appears in the library's own output on the same host that runs NGINX Plus.

  3. Set the group on a test listener

    On a non-production server block, add an ssl_ecdh_curve directive that names the hybrid group first, followed by fallbacks, for example ssl_ecdh_curve X25519MLKEM768:X25519:prime256v1;. This form is illustrative and follows the sample in the NGINX blog, not an NGINX Plus-specific setting, so check the group names against the output from the previous step. Keep the ssl_protocols directive on TLSv1.3, since the group applies to TLS 1.3 key exchange. Do not change the production listener yet. The step is complete when the configuration file contains the test listener with the directive set and no other changes to the production blocks.

  4. Validate and reload the configuration

    Run nginx -t to check the syntax and confirm the test succeeds. If it reports an error on the directive, the group name is probably not recognized by the linked OpenSSL build, so return to the previous step. When the test passes, reload with nginx -s reload or your service manager's reload command. Check the error log for new warnings after the reload. The step is complete when nginx -t reports success, the reload finishes without errors, and the log shows no new TLS-related messages. Record the time of the reload, because it is the reference point for the next step.

  5. Confirm the negotiated group with a test client

    From a separate host, connect to the test listener with a client that offers the hybrid group. Use an OpenSSL client built against the same or a newer library, for example openssl s_client -connect host:443 -groups X25519MLKEM768, and read the output for the negotiated group. The step is complete when the output names the hybrid group as the negotiated group for the handshake. If the handshake falls back to X25519 or prime256v1, the server or client did not accept the hybrid group, so check the client's support list and the listener's configuration before repeating the test. Record the client version and the exact output line.

  6. Document the result and scope of the test

    Write down the release, the OpenSSL build, the group name, the listener and client used, and the negotiated group. State that the test covers key exchange only. The NGINX Plus documentation reviewed does not confirm post-quantum certificate signatures or the NGINX Plus support status for post-quantum algorithms, so the record should not state that the product is compliant or that certificates are post-quantum. Keep the test configuration separate from production until you have reviewed the result with your security lead.

Where the key exchange setting sits in the TLS handshake on NGINX Plus

The handshake starts when a client sends a ClientHello that lists the key exchange groups it supports. The NGINX Plus listener receives it and applies the ssl_ecdh_curve directive, which sets the groups the server will accept, with the default auto using whatever the OpenSSL library provides. The negotiation itself is performed by the OpenSSL build on the host, which must be OpenSSL 1.1.1 or later, and on RHEL 9.7 and 10.1 must be OpenSSL 3.5.0 or later. Check the chosen group in access or debug logs, and confirm the host's OpenSSL version before expecting a hybrid group such as X25519MLKEM768 to be negotiated.

The key exchange path from client offer through OpenSSL negotiation to log verification.

How the steps differ by OpenSSL version and operating system

NGINX Plus requires OpenSSL 1.1.1 or later, so hosts on this range can run the product, but the published facts do not show post-quantum key exchange on these builds. The NGINX blog states that OpenSSL 3.0.x does not support PQC algorithms and that OpenSSL 3.5 is the release that enables the NIST-approved algorithms by default. The facts do not say whether NGINX Plus supports PQC on 1.1.1 through 3.4, so treat hybrid key exchange as unconfirmed on these hosts.

  • Build check: Run openssl version on the host and record the exact version string, including any distribution patch suffix.
  • No PQC group in the blog's examples: The sample ssl_ecdh_curve X25519MLKEM768:X25519:prime256v1 depends on an OpenSSL build that provides that group, so a listener on these builds may not accept it.
  • Upgrade path to confirm: Ask the distribution or the NGINX vendor whether an OpenSSL 3.5 or later build is available for the host's release.
  • TLS defaults still apply: The ssl_protocols default of TLSv1.2 TLSv1.3 and the ssl_ciphers default of HIGH:!aNULL:!MD5 remain in effect and are unchanged by this tab.
  • Do not edit ssl_ecdh_curve yet: Leave the directive at its default until the OpenSSL build is confirmed to provide the hybrid group.

Before changing any listener on these hosts, confirm in writing with the vendor whether the installed OpenSSL build supports the hybrid group in NGINX Plus.

How to confirm the hybrid group was negotiated

Enabling X25519MLKEM768 in ssl_ecdh_curve is only the configuration step. The checks below confirm that the OpenSSL build on the host offers the hybrid group, that a test client can negotiate it, and that classical clients still connect.

Check the host OpenSSL build

NGINX Plus uses the OpenSSL library installed on the host, so the group list depends on that build. Run openssl version to confirm the release, then openssl list -key-exchange-algorithms to check whether X25519MLKEM768 appears. The NGINX blog says OpenSSL 3.5 enables PQC algorithms by default, and OpenSSL 3.0.x does not support them. Also confirm the host meets the minimum in the NGINX Plus technical specs, which is OpenSSL 3.5.0 or later on RHEL 9.7 and 10.1.

Technical specs

Use a client that offers the hybrid group

A server can only negotiate X25519MLKEM768 if the client also offers it. Use a client build whose TLS library includes the hybrid group, and confirm that support in its documentation before testing. A client that only offers classical groups will complete the handshake on X25519 or prime256v1, which does not show the hybrid group took effect. Record the client name and version with each test.

Inspect the handshake in a test connection

Run a test handshake against the listener and read the negotiated group from the output. With OpenSSL, openssl s_client -connect host:443 -groups X25519MLKEM768 shows whether the server accepts the hybrid group. Confirm the result shows X25519MLKEM768 as the shared group, not a classical fallback. Test from a host outside the NGINX server so the result reflects the network path your clients use.

Read the error log after reload

After nginx -s reload, check the NGINX Plus error log for TLS or configuration errors that would stop the new ssl_ecdh_curve value from applying. An unknown curve name or a rejected configuration appears in the log, and a reload can succeed without the expected change if an earlier file overrides the setting. Compare the log timestamp with the reload time to confirm the messages come from this change.

Confirm classical clients still connect

Enabling a hybrid group must not block clients that offer only classical groups. Test a client that supports only X25519 or prime256v1 against the same listener and confirm the handshake completes. Repeat the test on every listener and virtual server where ssl_ecdh_curve is set, because a fallback that works on one listener can still fail on another.

What can go wrong when enabling hybrid key exchange

Enabling hybrid key exchange in NGINX Plus changes the size and shape of the TLS handshake, so the first risk is compatibility. A hybrid group such as X25519MLKEM768 produces larger ClientHello and ServerHello messages than classical groups. Some clients, load balancers, firewalls and inspection devices in the path may reject or truncate these messages, or fail the handshake without a clear error. Before you change ssl_ecdh_curve on a production listener, test from every client population and network path you serve, including internal services, mobile clients, and any TLS inspection appliance between the client and NGINX Plus. Confirm which OpenSSL build your NGINX Plus hosts use, because the sample configuration in the NGINX blog depends on OpenSSL 3.5 or later, and the technical specs say that on RHEL 9.7 and 10.1 NGINX Plus requires OpenSSL 3.5.0 or later.

Second, a hybrid group only helps when the client offers it. If a client does not include the hybrid group in its supported groups, the handshake continues with the next group in your ssl_ecdh_curve list, which in the sample is X25519 and then prime256v1. The connection succeeds and looks normal, so nothing fails visibly. Check the negotiated group on real traffic, not just the configuration file, and treat any listener without a verified hybrid negotiation as classical-only. Separately, the ssl_conf_command directive can set OpenSSL options directly, for example Ciphersuites, and the NGINX documentation warns that configuring OpenSSL directly might result in unexpected behavior. Record every ssl_conf_command line in your change ticket and retest after each OpenSSL or NGINX Plus upgrade, because a later build can change how it applies.

Third, FIPS mode is a constraint you need to resolve before you enable anything. The NGINX Plus FIPS page says NGINX Plus relies exclusively on the operating system's FIPS-validated OpenSSL for TLS, and it is FIPS 140-3 Level 1 compliant only when the operating system and OpenSSL run in FIPS mode. The same page does not mention post-quantum cryptography, so do not assume that a hybrid group that works on a non-FIPS host is permitted on a FIPS host. Ask your OpenSSL or operating system vendor whether the PQC algorithms are inside the validated module. Also check the FIPS page's list of disallowed ciphers, since a configuration copied from a non-FIPS example can select algorithms your FIPS posture does not allow. Finally, do not copy the configuration from the NGINX open-source blog into NGINX Plus without a test. That blog covers open-source NGINX builds, not NGINX Plus, so run the change in a staging environment that matches your production OS, OpenSSL version, FIPS setting and client mix, and keep a tested rollback to your previous ssl_ecdh_curve value.

Common questions about NGINX Plus post-quantum key exchange

Is NGINX Plus quantum safe?

No product statement supports that claim, so treat NGINX Plus as not validated as quantum safe. What the sources do show is narrower. F5 announced initial post-quantum cryptography support in NGINX Plus R33 on November 19, 2024, but the release notes name no algorithm, OpenSSL version or directive. NGINX Plus uses the operating system's OpenSSL for TLS, so the algorithms you actually get depend on that build. The FIPS page does not mention post-quantum cryptography, and the sources contain no statement on CNSA 2.0, ML-KEM-1024, ML-DSA or a post-quantum roadmap. Confirm the supported algorithms with F5 for the exact release you run, and test the hybrid group on your own listeners.

Which NGINX Plus release and OpenSSL version do I need?

The sources do not name a minimum NGINX Plus release for hybrid key exchange, so confirm that with F5 for your build. The release notes list OpenSSL 3.5 support in R36 and OpenSSL 4.0 in the initial PLS.37 LTS release. The NGINX blog says OpenSSL 3.5 enables several NIST-approved algorithms by default, names X25519MLKEM768 as the hybrid key exchange, and says OpenSSL 3.0.x does not support these algorithms. The technical specs require OpenSSL 3.5.0 or later on RHEL 9.7 and 10.1. Check the OpenSSL build your operating system provides, because NGINX Plus uses that library for TLS. The newest releases listed on the release notes page are PLS.37.0.9.1 LTS and PLS.37.3.1.1 CR, both dated November 23, 2026.

Does enabling post-quantum key exchange in NGINX Plus cost extra?

The sources give no price for enabling it, and a licence cost has not been published for this feature. Plan around the cost drivers. The main ones are whether your operating system ships OpenSSL 3.5 or later, which may mean an OS upgrade or a new host image; the staff time to test handshakes and client compatibility; and any change to a shared load balancer fleet. One-time costs include the upgrade, testing and rollout. Recurring costs depend on your support terms and whether you must keep older OpenSSL builds running. Ask F5 in writing whether the feature needs a particular subscription tier, and whether any extra entitlement applies to your edition.

What breaks when I enable hybrid key exchange?

Hybrid key exchange changes the TLS handshake, so the risks sit in the handshake and in what clients can negotiate. Clients or middleboxes that do not offer the hybrid group will fall back to classical curves, which is expected, but clients that reject the larger handshake may fail. The sample configuration sets ssl_ecdh_curve X25519MLKEM768:X25519:prime256v1, so keeping the classical curves in the list preserves fallback. Review any ssl_conf_command settings, since the documentation warns that configuring OpenSSL directly might cause unexpected behavior. Check your ssl_protocols, ssl_ciphers and monitoring tools, and test with the clients you serve. Confirm behavior on a staging listener before production.

What should I ask F5 before turning this on?

Ask for written answers to a short set of questions tied to your release. First, which hybrid and post-quantum groups does this NGINX Plus release support, and does it depend on the host OpenSSL build? Second, which OpenSSL version is the minimum for each group, and is it the same on every supported operating system? Third, does post-quantum key exchange apply to upstream connections, and does it cover certificate signatures? Fourth, is there a documented procedure, release note or change log entry for enabling it? Fifth, does the feature need a particular licence tier, and what is the support path if a handshake fails after an upgrade? Ask also about the published roadmap and any transition notices.

Can my team enable post-quantum key exchange in-house or do we need help?

Your team can likely do the configuration itself if it already runs NGINX Plus and manages its OpenSSL builds. The steps are to confirm the release and OpenSSL version, set ssl_ecdh_curve with the hybrid group followed by classical fallbacks, test handshakes against your real client mix, and verify the negotiated group. Outside help is worth considering when the OS upgrade is large, when many listeners or upstream links need coordinated change, or when auditors need evidence. DeployOpen can plan, implement and test these changes in your own infrastructure, and it will give a fixed-scope written quote after reviewing your environment.

How DeployOpen helps teams test post-quantum key exchange on NGINX Plus

DeployOpen approaches enabling post-quantum key exchange in NGINX Plus as a scoped, tested change to a self-hosted deployment in your own infrastructure. The work starts with confirming which OpenSSL build your NGINX Plus hosts actually use, since algorithm support in NGINX Plus depends on that library, and then tests the hybrid key exchange settings before anything reaches production.

How we scope

  • Confirm the NGINX Plus release, the operating system and the OpenSSL version on each host, since the technical specs require OpenSSL 3.5.0 or later on RHEL 9.7 and 10.1.
  • List every listener, upstream and API location that the change would touch, so the written scope names the exact ssl_ecdh_curve and ssl_conf_command settings under test.
  • Agree in writing whether the test covers listeners only, or also proxy_ssl connections to upstreams, and whether FIPS mode is in effect, because the FIPS page limits TLS to the operating system's validated OpenSSL.

How we build

  • Set up a staging copy of your NGINX Plus configuration and enable X25519MLKEM768 in ssl_ecdh_curve alongside classical curves, following the sample in the NGINX blog.
  • Test with clients that support the hybrid group and with clients that do not, to confirm that fallback to classical key exchange works as expected.
  • Check the active key exchange on live connections with openssl s_client against each listener, and record what each test showed, including any unexpected behavior from ssl_conf_command.

How we hand over

  • Deliver the tested configuration files, with each directive, default value and changed setting documented against the NGINX Plus release it was tested on.
  • Provide a test record listing each listener, client type, negotiated group and result, so your security and compliance reviewers can check the evidence.
  • Document the rollback steps and the items you should confirm with F5 or your OpenSSL distributor, such as support for signature algorithms in TLS 1.3 server authentication.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before any work starts.
  • Ongoing support, upgrades and continuous testing are available as a retainer, which suits teams that will repeat these checks after each NGINX Plus or OpenSSL update.
  • Re-run the agreed tests when F5 publishes a new NGINX Plus release or when the host OpenSSL build changes, and report any difference from the documented results.

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.