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_ssldirective lists groups;SSLOpenSSLConfCmdpasses OpenSSL’sGroupscommand 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_proxywith SSL): no group setting is documented, and the source appliesSSLOpenSSLConfCmdto the server context only (checked 2026-12-05).4 - Certificates:
SSLOpenSSLConfCmd SignatureAlgorithmsis 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:
SSLOpenSSLConfCmdis 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 documentsGroups(Curvesis 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_proxyusesSSLProxy*directives;1 in 2.4.71ssl_init_proxy_ctxdoes not callSSL_CONF_cmdand noSSLProxyOpenSSLConfCmdis documented, so OpenSSL’s default applies (derived from source; not tested).4 - Certificates:
SignatureAlgorithmsexamples areRSA+SHA384:ECDSA+SHA256; authentication is classical unless OpenSSL and the certificate provide otherwise.1
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
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/httpdwas 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
-
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
-
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
-
Apache httpd 2.4 CHANGES. https://downloads.apache.org/httpd/CHANGES_2.4 (accessed 2026-12-05) ↩ ↩2
-
apache/httpd,
modules/ssl/ssl_engine_init.cat 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 -
Apache HTTP Server download page, “2.4.71 (released 2026-11-11)”. https://httpd.apache.org/download.cgi (accessed 2026-12-05) ↩
-
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
-
docker-library/httpd,
2.4/Dockerfileat commit c8c8e38. https://github.com/docker-library/httpd/blob/c8c8e38b8713ac17c11fc183f51f63064062a4da/2.4/Dockerfile (accessed 2026-12-05) ↩ ↩2 -
Debian package libssl-dev in trixie. https://packages.debian.org/trixie/libssl-dev (accessed 2026-12-05) ↩
-
docker-library/httpd,
2.4/alpine/Dockerfileat commit c8c8e38. https://github.com/docker-library/httpd/blob/c8c8e38b8713ac17c11fc183f51f63064062a4da/2.4/alpine/Dockerfile (accessed 2026-12-05) ↩ -
Alpine package openssl, branch v3.25. https://pkgs.alpinelinux.org/packages?name=openssl&branch=v3.25&arch=x86_64 (accessed 2026-12-05) ↩
-
Debian package apache2 in trixie. https://packages.debian.org/trixie/apache2 (accessed 2026-12-05) ↩