Vendor: HAProxy Technologies · https://www.haproxy.org/ · pkg:generic/haproxy · Last reviewed 2026-12-05 · History
Summary
- HAProxy builds against OpenSSL or another library (the wiki lists OpenSSL, QuicTLS, LibreSSL, AWS-LC and wolfSSL) and only passes it a group list; its manual and changelog name no post-quantum group (checked 2026-12-05).123
- Whether a default build negotiates the hybrid group X25519MLKEM768 in TLS 1.3 is not documented by HAProxy; the OpenSSL default list from 3.5 puts it first.4
- A maintainer’s position, 2024 and 2025: “it’s the SSL library that provides PQC”.56
- Classical groups can be disabled by listing only the hybrid group in
ssl-default-bind-curvesorcurves(frontend) andssl-default-server-curvesorcurves(backend); the hybrid name string is not shown in the manual.1 sigalgsandclient-sigalgsare documented with no ML-DSA value (checked 2026-12-05).1
To restrict groups, set
ssl-default-bind-curvesandssl-default-server-curvesinglobal; that HAProxy accepts the stringX25519MLKEM768there was not tested.1
Cryptographic operations
- Frontend (TLS server):
ssl-default-bind-curves“sets the default string describing the list of elliptic curves algorithms (“curve suite”) that are negotiated during the SSL/TLS handshake with ECDHE. The format of the string is a colon-delimited list of curve name.”; bindcurvesoverrides it. No default list is stated, so the library’s applies (inferred);ecdhe(“By default, used named curve is prime256v1”) is ignored whencurvesis set.1 - Backends (TLS client):
ssl-default-server-curvesand servercurves.1 - Certificates: the
sigalgsfamily has generic text naming no post-quantum algorithm; authentication stays classical unless library and certificates provide otherwise.1 - Negotiated group:
ssl_fc_curveandssl_bc_curvereturn “the name of the curve used in the key agreement”; output “depends on the HAProxy and SSL library versions” and “Spelling and case may also vary”; OpenSSL 3.0.0 or later and AWS-LC 3.0.0 or later; hybrid names not tested.1
Versions
| Change | Version | Package URL | Source |
|---|---|---|---|
ssl-default-bind-curves and bind curves in the manual; no server-side equivalent |
2.4 and 2.8 manuals | pkg:generic/haproxy@2.8 |
7 |
ssl-default-server-curves and server curves in the manual |
3.0 manual | pkg:generic/haproxy@3.0 |
8 |
| 3.5.0 released; no ML-KEM entry in the changelog | 2026-12-02 | pkg:generic/haproxy@3.5.0 |
2 |
Rows reflect the keywords each manual documents; earlier versions were not checked. No changelog entry names ML-KEM, Kyber or a hybrid group.2
Configuration
- Enable: no HAProxy switch; needs a library offering a post-quantum group and a curve list including it or left to the library default. In 2024 a maintainer pointed to
ssl-providerandcurves; the wiki example uses draft-era names from a research provider:69
global
ssl-provider oqsprovider
listen encrypt
bind 0.0.0.0:8443 ssl crt kikyo.pem.rsa curves p384_frodo976shake:p256_frodo640shake:kyber768
- In 2025: “Just put the ciphers you want in the configuration.”5
- Frontends inspecting the ClientHello with
req.ssl_snineedtcp-request inspect-delayplustcp-request content accept if { req.ssl_hello_type 1 }; larger X25519MLKEM768 ClientHellos failed intermittently without them, attributed by the maintainer to the configuration, not the group.10 - Disable classical (name acceptance by HAProxy not tested; peers not offering the group would fail):
global
ssl-default-bind-curves X25519MLKEM768
ssl-default-server-curves X25519MLKEM768
Distributions
Checked 2026-12-05. The Docker official image builds from source; OpenSSL comes from the base image.
| Image or package | HAProxy | Built on | Source |
|---|---|---|---|
Docker official haproxy 3.5 |
3.5.0 | debian:trixie-slim, libssl-dev, USE_OPENSSL=1; trixie has OpenSSL 3.5.10 |
1112 |
Docker official haproxy 3.5 alpine |
3.5.0 | alpine:3.25, openssl-dev; Alpine 3.25 has OpenSSL 3.5.10 |
1314 |
| Debian 13 (trixie) package | 3.0.11 | OpenSSL library linkage not verified | 15 |
| Alpine 3.24 package | 3.4.9 | OpenSSL library linkage not verified | 16 |
References
-
HAProxy 3.5 Configuration Manual. https://docs.haproxy.org/3.5/configuration.html (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8
-
HAProxy CHANGELOG, master. https://raw.githubusercontent.com/haproxy/haproxy/master/CHANGELOG (accessed 2026-12-05) ↩ ↩2 ↩3
-
HAProxy wiki, SSL Libraries Support Status. https://github.com/haproxy/wiki/wiki/SSL-Libraries-Support-Status (accessed 2026-12-05) ↩
-
OpenSSL 3.5 manual, SSL_CONF_cmd: “Starting with OpenSSL 3.5, the hybrid algorithm X25519MLKEM768 is first in this default list.” https://docs.openssl.org/3.5/man3/SSL_CONF_cmd/ (accessed 2026-12-05) ↩
-
haproxy/haproxy issue 3171, Post-Quantum Cryptography (PQC) Support, 2025-10-24. https://github.com/haproxy/haproxy/issues/3171 (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4
-
haproxy/haproxy issue 2603, Support X25519Kyber768Draft00 or X25519Kyber768, 2024-06-11. https://github.com/haproxy/haproxy/issues/2603 (accessed 2026-12-05) ↩ ↩2 ↩3
-
HAProxy 2.8 Configuration Manual. https://docs.haproxy.org/2.8/configuration.html (accessed 2026-12-05) ↩
-
HAProxy 3.0 Configuration Manual. https://docs.haproxy.org/3.0/configuration.html (accessed 2026-12-05) ↩
-
HAProxy wiki, OpenSSL Providers in HAProxy, section oqsprovider. https://github.com/haproxy/wiki/wiki/OpenSSL-Providers-in-HAProxy (accessed 2026-12-05) ↩
-
haproxy/haproxy issue 3148, req.ssl_sni: TCP Abort after TLS “Client Hello” with X25519MLKEM768, 2025-10-04. https://github.com/haproxy/haproxy/issues/3148 (accessed 2026-12-05) ↩
-
docker-library/haproxy,
3.5/Dockerfileat commit ef446db. https://github.com/docker-library/haproxy/blob/ef446db/3.5/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/haproxy,
3.5/alpine/Dockerfileat commit ef446db. https://github.com/docker-library/haproxy/blob/ef446db/3.5/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 haproxy in trixie. https://packages.debian.org/trixie/haproxy (accessed 2026-12-05) ↩
-
Alpine package haproxy, branch v3.24. https://pkgs.alpinelinux.org/packages?name=haproxy&branch=v3.24&arch=x86_64 (accessed 2026-12-05) ↩