Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Vendor: Apache Software Foundation · https://httpd.apache.org/ · pkg:generic/apache-httpd · Last reviewed 2026-12-05 · History

Summary

  • Frontend key agreement in TLS 1.3 is inherited from OpenSSL: built against OpenSSL 3.5 or later, httpd offers the hybrid group X25519MLKEM768 by default (derived from OpenSSL’s documentation; httpd’s does not say so), and with earlier OpenSSL it is classical.12
  • No mod_ssl directive lists groups; SSLOpenSSLConfCmd passes OpenSSL’s Groups command through, and no httpd changelog entry mentions ML-KEM, Kyber or hybrid groups (checked 2026-12-05, CHANGES_2.4 through 2.4.71).13
  • Classical groups can be disabled for the frontend with SSLOpenSSLConfCmd Groups, per server or virtual host.12
  • Backend connections (mod_proxy with SSL): no group setting is documented, and the source applies SSLOpenSSLConfCmd to the server context only (checked 2026-12-05).4
  • Certificates: SSLOpenSSLConfCmd SignatureAlgorithms is documented with classical values only; no ML-DSA value is documented (checked 2026-12-05).1

To require the hybrid group on the frontend, set SSLOpenSSLConfCmd Groups X25519MLKEM768; clients that do not offer it cannot handshake.12

Cryptographic operations

  • Client connections: SSLOpenSSLConfCmd is available “in httpd 2.4.8 and later, if using OpenSSL 1.0.2 or later”; “the set of available SSLOpenSSLConfCmd commands depends on the OpenSSL version being used”.1 OpenSSL documents Groups (Curves is a synonym); from 3.5 “the hybrid algorithm X25519MLKEM768 is first in this default list”.2 httpd states no default. Key agreement is hybrid if X25519MLKEM768 is selected, else classical (X25519 or an NIST curve).
  • Backends: mod_proxy uses SSLProxy* directives;1 in 2.4.71 ssl_init_proxy_ctx does not call SSL_CONF_cmd and no SSLProxyOpenSSLConfCmd is documented, so OpenSSL’s default applies (derived from source; not tested).4
  • Certificates: SignatureAlgorithms examples are RSA+SHA384:ECDSA+SHA256; authentication is classical unless OpenSSL and the certificate provide otherwise.1

Versions

Change Version Package URL Source
SSLOpenSSLConfCmd directive (passes OpenSSL Groups through) 2.4.8 pkg:generic/apache-httpd@2.4.8 1
Latest release; its CHANGES has no ML-KEM entry 2.4.71, 2026-11-11 pkg:generic/apache-httpd@2.4.71 35

Configuration

  • Enable: build or run against OpenSSL 3.5 or later and set nothing, or (not tested; “the preferred names are those listed in the IANA TLS Supported Groups registry”):12
SSLOpenSSLConfCmd Groups X25519MLKEM768:X25519:secp256r1
  • Disable classical (frontend only; no backend equivalent documented):14
SSLOpenSSLConfCmd Groups X25519MLKEM768

Open work

  • A pull request adding a post-quantum key exchange snippet was closed by its author: “I’m closing the PR because X25519MLKEM768 will become available in OpenSSL 3.5 and the method I described is getting obsolete.”6
  • No other issue or pull request mentioning X25519MLKEM768 in apache/httpd was found, and no Apache plan for ML-KEM or ML-DSA was found (checked 2026-12-05).6

Distributions

Checked 2026-12-05.

Distribution httpd OpenSSL library Source
Docker official httpd:2.4 2.4.71 debian:trixie-slim with libssl-dev; trixie has 3.5.10 78
Docker official httpd:2.4-alpine 2.4.71 alpine:3.25 with openssl-dev; Alpine 3.25 has 3.5.10 910
Debian 13 (trixie) apache2 2.4.71 OpenSSL library linkage not verified 11

The Debian image’s Dockerfile configures with --enable-mods-shared=reallyall.7

References

  1. Apache HTTP Server 2.4 documentation, mod_ssl. https://httpd.apache.org/docs/2.4/mod/mod_ssl.html (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11

  2. OpenSSL 3.5 manual, SSL_CONF_cmd. https://docs.openssl.org/3.5/man3/SSL_CONF_cmd/ (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5

  3. Apache httpd 2.4 CHANGES. https://downloads.apache.org/httpd/CHANGES_2.4 (accessed 2026-12-05) ↩ ↩2

  4. apache/httpd, modules/ssl/ssl_engine_init.c at tag 2.4.71 (a tag, not a commit pin). https://github.com/apache/httpd/blob/2.4.71/modules/ssl/ssl_engine_init.c (accessed 2026-12-05) ↩ ↩2 ↩3

  5. Apache HTTP Server download page, “2.4.71 (released 2026-11-11)”. https://httpd.apache.org/download.cgi (accessed 2026-12-05) ↩

  6. apache/httpd pull request 481, Add configuration snippet for post-quantum key exchange. https://github.com/apache/httpd/pull/481 (accessed 2026-12-05) ↩ ↩2

  7. docker-library/httpd, 2.4/Dockerfile at commit c8c8e38. https://github.com/docker-library/httpd/blob/c8c8e38b8713ac17c11fc183f51f63064062a4da/2.4/Dockerfile (accessed 2026-12-05) ↩ ↩2

  8. Debian package libssl-dev in trixie. https://packages.debian.org/trixie/libssl-dev (accessed 2026-12-05) ↩

  9. docker-library/httpd, 2.4/alpine/Dockerfile at commit c8c8e38. https://github.com/docker-library/httpd/blob/c8c8e38b8713ac17c11fc183f51f63064062a4da/2.4/alpine/Dockerfile (accessed 2026-12-05) ↩

  10. Alpine package openssl, branch v3.25. https://pkgs.alpinelinux.org/packages?name=openssl&branch=v3.25&arch=x86_64 (accessed 2026-12-05) ↩

  11. Debian package apache2 in trixie. https://packages.debian.org/trixie/apache2 (accessed 2026-12-05) ↩


Edit: Apache HTTP Server

If you give an email address it is recorded publicly as the author of the commit, and GitHub will link the commit to your account if that address belongs to one.

Edits are reviewed before they appear. By submitting you release your contribution under CC BY-SA 4.0. Read the editorial guidelines first.

This site uses Just the Docs, a documentation theme for Jekyll.