Apache HTTP Server post-quantum compatibility with clients, libraries and middleboxes

Apache HTTP Server takes its post-quantum hybrid key exchange from the OpenSSL build it links against, so client, library and middlebox compatibility depends on the OpenSSL version and group settings, not on httpd itself.

On this page

Does Apache HTTP Server negotiate post-quantum key exchange with clients today?

If you run Apache HTTP Server and need to know whether it can negotiate hybrid post-quantum key exchange with the clients and devices in front of it, the answer is set mainly by the OpenSSL version it is linked against, not by httpd itself. The mod_ssl documentation and the 2.4 changelog, checked 2026-12-03, contain no post-quantum entry for httpd. Any build linked against OpenSSL 3.5 or later takes the X25519MLKEM768 hybrid group from OpenSSL by default, so the key exchange capability follows the library, not an httpd setting.

This matters most to platform engineers and security leads who own the httpd build, the OpenSSL version it loads at runtime, and the change process for both. Check which OpenSSL your build loads, since a distribution package or a container image may link a different version than the one you expect. Nothing in the facts covers a specific client, browser, library or network middlebox, so whether a given caller completes a post-quantum handshake through your server is something you need to test against that caller directly.

Before you change any setting, confirm the linked OpenSSL version on the running server, and check that the default group list in that version still sends the hybrid share. OpenSSL's documentation says a group marked with a leading * receives a key share, and a list that places ?X25519MLKEM768 first without * causes the default entry to be ignored as a duplicate, so an existing SSLOpenSSLConfCmd Curves line can silently change what is offered. The Mozilla ssl-config-generator issue 380 shows a third-party generator emitting such a line for Apache, but that is not Apache documentation, so verify any such line against your own build.

Test with the actual clients and middleboxes in your path, such as load balancers, inspection devices and API callers, and record which group each one negotiates. Be aware that a middlebox which mishandles larger handshake messages can fail a connection that otherwise works, so a failed test is a finding to investigate, not a reason to conclude httpd is at fault.

Which build and library versions the facts cover for post-quantum key exchange

This table lists each Apache HTTP Server and OpenSSL component the checked sources mention, what each one applies to for post-quantum key exchange, what it does not cover, and the source date. Read it before assuming a given httpd build can negotiate post-quantum groups, because the capability comes from the linked OpenSSL version rather than from httpd itself.

ComponentWhat appliesWhat does not applySource date
httpd 2.4.71Current stable release listed on the download page as of 2026-12-03, released 2026-11-11The download page does not state which OpenSSL groups this release can negotiateChecked 2026-12-03
mod_ssl defaultsSSLProtocol, SSLCipherSuite and SSLOpenSSLConfCmd control what the handshake offers, depending on the linked OpenSSLThe mod_ssl docs contain no post-quantum or ML-KEM setting, so no httpd directive names a post-quantum groupChecked 2026-12-03
OpenSSL 3.5.0 default groupsReleased 2025-04-08 as an LTS release supported to 2030-04-08, with X25519MLKEM768 and X25519 as the default two key sharesApplies only to httpd builds linked against OpenSSL 3.5 or later, and does not apply to the older OpenSSL builds an httpd release may ship withReleased 2025-04-08
httpd 2.4.68 with OpenSSL 4.0Added mod_ssl support for OpenSSL 4.0The changelog entry does not describe post-quantum groups, so confirm group behavior in your own build2.4 CHANGES, checked 2026-12-03
Mozilla ssl-config-generator issue 380Reports an Apache 2.4.67 build with OpenSSL 3.5.6 and a generated SSLOpenSSLConfCmd Curves line that includes X25519MLKEM768This is a third-party tool report, not Apache documentation, and it does not confirm the line works on every buildClosed 2026-05-17
SSLOpenSSLConfCmd and SSL_CONF commandsPasses commands to OpenSSL from httpd 2.4.8 with OpenSSL 1.0.2 or later, so available commands depend on the linked versionThe documented examples cover Protocol and SignatureAlgorithms, not post-quantum groupsChecked 2026-12-03
Post-quantum entries in httpd changelogNo post-quantum entry appears in the 2.4 changelog excerpt read, from 2.4.71 back to 2.4.52Absence of an entry does not show a group is unsupported, so check the OpenSSL version your build linksChecked 2026-12-03

Which parts of httpd and OpenSSL the key exchange question touches

The post-quantum key exchange in an Apache HTTP Server deployment is negotiated in the TLS handshake by the linked OpenSSL, not by httpd code. Several httpd directives sit near that handshake, but they control different things, so each needs a separate check before anyone changes a setting.

TLS handshake key exchange

The key exchange group is negotiated during the TLS handshake by the OpenSSL library that httpd is linked against. OpenSSL 3.5 added the hybrid groups X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024, and its default group list sends two key shares, X25519MLKEM768 and X25519. Any httpd build linked against OpenSSL 3.5 or later therefore gets its hybrid key exchange from OpenSSL. Confirm the linked OpenSSL version on the target host, since that version decides which groups the server can offer.

OpenSSL 3.5 release

SSLOpenSSLConfCmd group settings

SSLOpenSSLConfCmd passes SSL_CONF commands to OpenSSL, so a Groups or Curves line can change which key exchange groups are offered. The commands available depend on the linked OpenSSL version. The documented examples cover Protocol and SignatureAlgorithms but include no post-quantum group, so any post-quantum group setting comes from outside the documented examples. A group list that puts ?X25519MLKEM768 first without the * prefix can be ignored as a duplicate of the default entry, so test the resulting group order with a real handshake.

mod_ssl docs

SSLProtocol and SSLCipherSuite

SSLProtocol selects the TLS versions offered, and SSLCipherSuite sets the cipher suites. Neither directive selects key exchange groups. With OpenSSL 1.1.1 or later, a TLSv1.3 protocol specifier in SSLCipherSuite sets the TLS 1.3 cipher suites. Restricting these directives can block a client that would otherwise negotiate a hybrid group, so check the offered protocol and cipher list separately from the key exchange group list.

mod_ssl docs

SSLProxyProtocol for outbound connections

SSLProxyProtocol and SSLProxyCipherSuite govern the TLS connections httpd opens to upstream servers when it acts as a proxy. They apply to outbound traffic, so a client-facing change does not change them. Upstream services need their own check of which key exchange groups they accept. The documented SSLProxyCipherSuite default is ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:+EXP, which does not describe key exchange groups.

mod_ssl docs

Session tickets and restart frequency

TLS session tickets are enabled by default through SSLSessionTickets on. Session resumption skips the full handshake, so a resumed session does not run a new key exchange. The mod_ssl documentation warns that not restarting the server regularly, for example daily, compromises perfect forward secrecy. Settle the restart schedule and the ticket key rotation before testing key exchange, so resumed sessions are not mistaken for new handshakes.

mod_ssl docs

How compatibility differs by OpenSSL version and build route

When httpd is linked against OpenSSL 3.5 or later, its post-quantum behavior comes from OpenSSL. OpenSSL 3.5.0, released 2025-04-08 as a long-term support release, added the TLS hybrid groups X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024. In its default TLS group list, OpenSSL 3.5 sends two key shares: X25519MLKEM768 and X25519. Because httpd does not implement these groups itself, the default handshake offers the hybrid group to any client that supports it.

  • Default key shares: The default group list sends X25519MLKEM768 and X25519 key shares, so clients that support the hybrid group can negotiate it without any httpd setting.
  • Group list overrides: Per the OpenSSL 3.5 manual, a ? prefix is ignored if the group is missing, and a list that puts ?X25519MLKEM768 first without * treats the default entry as a duplicate and ignores it. Test any custom list before deploying it.
  • SSLOpenSSLConfCmd: Available from httpd 2.4.8 with OpenSSL 1.0.2 or later, it passes SSL_CONF commands to OpenSSL. The Mozilla ssl-config-generator issue 380 shows a third-party tool emitting a Curves line with X25519MLKEM768 for an Apache 2.4.67 build with OpenSSL 3.5.6. This is a third-party example, not Apache documentation.
  • Apache documentation gap: The mod_ssl documentation checked on 2026-12-03 does not mention ML-KEM or hybrid groups, and no Apache example for post-quantum groups is listed.
  • Clients and middleboxes: Confirm with the OpenSSL version reported by httpd that the hybrid group is actually negotiated, and test common clients and any inspection devices on the path before changing group settings.

Confirm the exact OpenSSL version and that the TLS handshake negotiates X25519MLKEM768 in your test environment.

Where the hybrid key exchange is negotiated in a request through a proxy

The hybrid group X25519MLKEM768 is offered by the client and selected during the TLS handshake inside OpenSSL, which httpd's mod_ssl calls. The client's ClientHello lists its groups, and OpenSSL, not httpd code, decides which key shares are sent when the library is version 3.5 or later. A middlebox placed between the client and httpd, such as a load balancer or TLS inspection device, may terminate or rewrite the handshake, and no supplied source documents how such devices handle these groups. Check each hop's TLS behavior before assuming the hybrid group reaches httpd.

Hybrid group offer and selection through an optional middlebox; middlebox behavior is not covered by the supplied sources.

What to test before changing Apache HTTP Server settings

This sequence confirms which OpenSSL build sits under httpd, maps the clients and middleboxes on the path, and checks the negotiated key exchange group before any change is made. It leaves a dated record that shows whether a later OpenSSL or httpd upgrade changes what is negotiated.

  1. Confirm the linked OpenSSL version

    Run httpd -V and openssl version on the same host, and check that the OpenSSL version reported by httpd matches the library that openssl version shows, since a system OpenSSL and a separately built one can differ. Record both outputs with the httpd build date. Mod_ssl behavior depends on the linked OpenSSL version, so this record is the baseline for every later test. The step is closed when the two versions are written down and confirmed to refer to the same library.

  2. List clients and middleboxes on the path

    Identify every client type that reaches the server, including browsers, API clients, batch jobs and monitoring tools, and every device between them and httpd, such as load balancers, CDNs, WAFs and TLS inspection appliances. For each one, note whether it terminates TLS itself and which library it uses. Middleboxes that inspect or re-encrypt handshakes can affect whether a hybrid group reaches httpd unchanged, so confirm this with each vendor. The step is closed when the list is complete and each entry has an owner and a recorded TLS termination point.

  3. Test handshakes in staging with two client types

    In a staging environment that matches production configuration, run handshakes from one client that offers hybrid key exchange groups and one that does not. Capture the handshake outcome for each, including any failures, retries or fallbacks. Use the same SSLProtocol and SSLCipherSuite settings for both runs so differences come from the client. The step is closed when both results are recorded with the client name, version and outcome.

  4. Check the negotiated group with a TLS client

    Use a TLS client tool that reports the negotiated key exchange group, and run it against the staging server for each client from the previous step. Record the group name that the handshake reports, not the group the client offered. OpenSSL 3.5 documents that its default group list sends two key shares, so the reported group depends on both sides. The step is closed when each handshake has a recorded negotiated group, or a recorded note that the tool does not report it.

  5. Confirm SSLOpenSSLConfCmd keeps default groups

    If the configuration sets SSLOpenSSLConfCmd, review every command, particularly any Curves or Groups entry. OpenSSL 3.5 documents that a group list placing a group first without the * prefix can cause the default list's entry to be ignored, so an override can remove the defaults. Compare the effective group list against the default from the baseline build, using a test handshake. The step is closed when the effective list is recorded and matches the intended defaults, or the difference is documented and accepted.

  6. Record results and retest after upgrades

    Write the results from each step into a dated record with the OpenSSL version, httpd version, client list, middlebox list and negotiated groups. Repeat the handshake and group checks after every OpenSSL or httpd upgrade, and after any change to middleboxes or SSLOpenSSLConfCmd. Compare the new results with the record to detect changed negotiation. The step is closed when the record is stored where the operations and security teams can both retrieve it, and a retest is scheduled for each upgrade.

What the Apache project has not published and what to ask

The mod_ssl and ssl_intro pages checked on 2026-12-03 are the basis for every gap below, and neither mentions post-quantum cryptography, ML-KEM or hybrid key exchange. Each card names one thing the project has not stated and what to ask the project or your distributor before changing settings.

No roadmap statement

The Apache project has published no roadmap statement covering post-quantum key exchange, certificates or signatures on the download, mod_ssl, SSL how-to or ssl_intro pages checked on 2026-12-03. The 2.4 changelog read for that check, from 2.4.71 back to 2.4.52, has no post-quantum entry. Ask the project, or your distributor, whether a dated plan exists for mod_ssl support, and whether that support depends on the OpenSSL version you link against.

Apache download page

No post-quantum certificate or signature guidance

The mod_ssl documentation describes SSLCertificateFile as typically RSA, DSA and ECC, and says the supported set depends on the OpenSSL version. It gives no guidance on post-quantum signature or certificate algorithms, and mod_md's MDPrivateKeys documentation lists RSA and EC key types only. Ask the project whether any ML-DSA or SLH-DSA certificate types are planned for mod_ssl or mod_md, and which OpenSSL release your build needs to load them.

mod_ssl docs

No documented SSLOpenSSLConfCmd post-quantum example

SSLOpenSSLConfCmd passes SSL_CONF commands to OpenSSL, and its documented examples cover Protocol and SignatureAlgorithms but no post-quantum group. Because the available commands depend on the linked OpenSSL version, a Curves example that works on one build may be rejected on another. Ask the project for a tested example, and confirm with your distributor which OpenSSL release their httpd package links against before you copy any setting.

SSLOpenSSLConfCmd section

No middlebox statement for hybrid handshakes

The project has published nothing on how load balancers, firewalls, inspection devices or proxies treat hybrid key exchange handshakes, including larger ClientHello messages carrying X25519MLKEM768 key shares. The documentation is silent on whether middleboxes between a client and httpd can break or downgrade these handshakes. Ask the project and your network vendors whether they have tested hybrid TLS through their devices before you enable a group that httpd does not document.

No CNSA 2.0 statement

The Apache project has published no statement on CNSA 2.0 on the pages checked on 2026-12-03, so nothing says whether httpd builds meet its requirements or are planned to. CNSA 2.0 governs national security systems, and a commercial deployment would meet it only through a contract with a federal customer that names it. Ask the project, and any distributor you buy support from, for a written position on CNSA 2.0 and on the OpenSSL version it relies on.

No statement on Mozilla-generated Curves lines

Mozilla's ssl-config-generator issue 380, closed 2026-05-17, shows the generator emitting an SSLOpenSSLConfCmd Curves line that includes X25519MLKEM768 for an Apache 2.4.67 build with OpenSSL 3.5.6. That is third-party tool output, and the Apache project has not confirmed or documented it. Ask the project whether it endorses that line, and check that any copied line is accepted by your own OpenSSL build before you deploy it.

Mozilla issue 380

What breaks or silently falls back when a group list is changed

The most common failure is a group list that looks correct but does not produce a post-quantum handshake. In OpenSSL 3.5, which is the library that supplies hybrid key exchange to any httpd build linked against it, a group list that places ?X25519MLKEM768 first without the * prefix causes the entry to be treated as a duplicate of the default list's entry and ignored. The handshake can then quietly negotiate a classical group, and nothing in the server's normal startup output will show that. Because the OpenSSL 3.5 groups manual states this behavior directly, a change to SSLOpenSSLConfCmd Curves should be checked with a test client that reports the negotiated group, not by reading the configuration file. The Mozilla ssl-config-generator issue 380 shows a generator emitting an Apache Curves line that includes X25519MLKEM768, which is a third-party example and not Apache documentation, so it should not be copied without this check.

Hybrid key exchange also sends larger key shares than classical groups, and the facts supplied for this page do not say how older clients, load balancers, firewalls or inspection devices on the path handle those larger handshake messages. Treat that as an open question to test, not a known result. Build a test matrix that includes the client versions and TLS libraries your users actually run, any reverse proxy or application delivery controller in front of httpd, and any TLS-inspecting middlebox, and record for each whether the handshake completes, which group is negotiated and whether any connection drops or retries. A middlebox that fails only on the larger key share will often look like an intermittent network problem, so log handshake failures on both sides and compare them against a baseline taken with the current settings before any change goes to production.

Version support sets a hard limit on everything above. The facts supplied for this page show that the Apache project has published no post-quantum guidance in its mod_ssl, SSL how-to or SSL intro pages, so whether a given httpd build can offer a post-quantum group depends entirely on the OpenSSL version it was linked against. A build linked against an OpenSSL version earlier than 3.5 gives no post-quantum group at all, whatever the group list says. Confirm the linked OpenSSL version with httpd -V and openssl version on the same host, and confirm the group names with openssl list -tls-groups on that version. If a group list is set and the server still negotiates classically, check the library version before editing the configuration again.

Questions engineers and vendor-risk reviewers ask about httpd compatibility

Is Apache HTTP Server quantum safe?

Apache HTTP Server does not have a post-quantum feature of its own that the project documents. The mod_ssl and SSL how-to pages checked on 2026-12-03 do not mention post-quantum cryptography, ML-KEM or hybrid key exchange groups, and the 2.4 changelog shows no post-quantum entry. Post-quantum key exchange comes from the OpenSSL library that httpd is linked against. Builds linked against OpenSSL 3.5.0 or later get the hybrid group X25519MLKEM768 as a default key share. Whether a given deployment is quantum safe also depends on its certificates and client-authentication keys, which are RSA and elliptic-curve based, and the sources do not show post-quantum signatures for those. Confirm the linked OpenSSL version and the negotiated group on your own endpoints rather than relying on a label.

Which Apache HTTP Server version do I need for hybrid key exchange?

The current stable release is 2.4.71, released 2026-11-11, according to the Apache download page checked on 2026-12-03. The version that matters most for hybrid key exchange is the OpenSSL version, not the httpd version. OpenSSL 3.5.0, released 2025-04-08 as a long-term support release, added the hybrid groups, and its default group list sends X25519MLKEM768 and X25519 key shares. So an httpd build linked against OpenSSL 3.5.0 or later is the baseline to check. Confirm which OpenSSL your build actually loads at runtime, because the httpd package and the OpenSSL package can be upgraded separately on many Linux distributions. httpd 2.4.68 added mod_ssl support for OpenSSL 4.0, if you plan to move further.

Does upgrading Apache HTTP Server for post-quantum support cost extra?

The sources supplied for this page give no price for post-quantum support in Apache HTTP Server, and httpd itself is open source. The costs you should expect come from work around the software: upgrading httpd and OpenSSL on each server, rebuilding or repackaging where your distribution does not ship a suitable OpenSSL, and testing with the clients, libraries and middleboxes that sit on the path. Those costs are one-time for the upgrade and recur through patching and retesting. Ask your distribution or support vendor what OpenSSL version they ship, when they will ship a version with hybrid groups, and whether they charge for a supported build. Cost drivers include the number of servers, the number of virtual hosts, and how much of the client population you need to test before changing defaults.

What breaks when Apache HTTP Server negotiates a post-quantum handshake?

The sources do not document specific breakage, so treat compatibility as something to test. The main risks follow from the larger key shares in a hybrid group. Some older clients, libraries and network devices may not accept an unfamiliar group, and a middlebox that inspects or rewrites TLS may fail the handshake or fall back. Name-based virtual hosts add another variable, because from httpd 2.4.42 the SSLProtocol of each virtual host is honored when the client sends SNI. Test with the clients you actually serve, including internal tools, monitoring agents and API clients, and watch for handshake failures, fallback to classical groups and changed latency. Check the behavior of TLS inspection appliances in your path before changing defaults.

What should I ask the Apache HTTP Server vendor or support provider?

Apache HTTP Server is an Apache Software Foundation project, and the project's documents checked on 2026-12-03 contain no post-quantum roadmap, CNSA 2.0 statement or post-quantum certificate guidance. So the questions go to whoever supplies your build and support. Ask which OpenSSL version your httpd package links against, whether it includes the default hybrid group, and when a version with post-quantum groups in its default list will ship. Ask whether post-quantum certificate or signature support is planned, and what the timeline is for updates to mod_ssl and mod_md. Ask how they test compatibility with common clients and middleboxes, and whether they publish release notes that name any change to TLS groups. Get the answers in writing and dated.

Can my team do the Apache HTTP Server post-quantum work ourselves?

Many teams can do the core steps in-house: confirm the linked OpenSSL version, upgrade the httpd and OpenSSL packages in a test environment, check the negotiated group with a client that supports it, and review the handshake logs. The work gets harder when the estate is large, when virtual hosts use different protocol settings, or when TLS inspection devices and older clients sit on the path, because each of those needs its own test plan. DeployOpen can scope that work as a fixed-scope engagement, covering inventory, upgrade planning, implementation in your infrastructure, and testing. Scope, deliverables and timelines are agreed in writing before work starts, and DeployOpen does not publish prices, so a quote follows from the scope.

Does a hybrid group in Apache HTTP Server protect my certificates?

No. The hybrid group in OpenSSL 3.5.0 and later protects the key exchange in the TLS handshake, so it affects how session keys are agreed. It does not change the server certificate or the client-authentication keys. Those stay RSA, DSA or elliptic-curve keys under SSLCertificateFile, SSLCertificateKeyFile and SSLVerifyClient, and the sources supplied do not show post-quantum certificate or signature support for httpd. mod_md, which obtains certificates over ACME, defaults to RSA 2048 for its keys. Treat certificate and signature readiness as a separate question with its own answer, and ask the vendor and your certificate authority what they support.

How DeployOpen works on this

DeployOpen helps platform and security teams plan and test changes to Apache HTTP Server post-quantum compatibility with clients, libraries and middleboxes. Work starts from the httpd version, the linked OpenSSL version and the clients and devices that connect, so that each change is tested before it reaches production.

How we scope

  • Inventory the httpd version, the OpenSSL version it is linked against and the build options in use.
  • Map which clients, load balancers and inspection devices sit between users and the server.
  • Agree the written scope, deliverables and test environment before any configuration work begins.
  • Confirm which SSLOpenSSLConfCmd or group settings the team intends to change, and why.

How we build

  • Stand up a test copy of the httpd and OpenSSL combination in the client's own environment.
  • Check the negotiated key exchange with real client handshakes, including older clients that may fail.
  • Test middleboxes and TLS inspection devices for handshake failures caused by larger key shares.
  • Record each setting tried, the observed handshake result and any rollback step used.

How we hand over

  • Deliver a written compatibility report listing tested clients, libraries, devices and their results.
  • Document the final configuration, the OpenSSL version required and the rollback procedure.
  • Provide a list of open items the client must confirm with vendors before rollout.
  • Walk the operations team through the test steps so they can repeat them after changes.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Retesting after httpd, OpenSSL or client upgrades can be scheduled under a retainer.
  • Support covers questions raised by auditors or vendor-risk reviewers about the recorded evidence.
  • Confirm retainer scope and timing against the written agreement, since terms vary by engagement.

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.