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

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-curves or curves (frontend) and ssl-default-server-curves or curves (backend); the hybrid name string is not shown in the manual.1
  • sigalgs and client-sigalgs are documented with no ML-DSA value (checked 2026-12-05).1

To restrict groups, set ssl-default-bind-curves and ssl-default-server-curves in global; that HAProxy accepts the string X25519MLKEM768 there 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.”; bind curves overrides it. No default list is stated, so the library’s applies (inferred); ecdhe (“By default, used named curve is prime256v1”) is ignored when curves is set.1
  • Backends (TLS client): ssl-default-server-curves and server curves.1
  • Certificates: the sigalgs family has generic text naming no post-quantum algorithm; authentication stays classical unless library and certificates provide otherwise.1
  • Negotiated group: ssl_fc_curve and ssl_bc_curve return “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-provider and curves; 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_sni need tcp-request inspect-delay plus tcp-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

Open work

  • “Post-Quantum Cryptography (PQC) Support”, opened 2025-10-24, closed 2025-11-07 after a maintainer said the library provides PQC.5
  • “Support X25519Kyber768Draft00 or X25519Kyber768”, opened 2024-06-11, closed 2024-08-07 after a wiki example was added.6

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
  • Dockerfile comment: “Openssl 3.5+ is available on Debian Trixie and Alpine 3.22 and newer”.11
  • The ghcr.io/haproxy/haproxy:aws-lc image, mentioned in an issue discussion, was not checked.5

References

  1. HAProxy 3.5 Configuration Manual. https://docs.haproxy.org/3.5/configuration.html (accessed 2026-12-05) ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8

  2. HAProxy CHANGELOG, master. https://raw.githubusercontent.com/haproxy/haproxy/master/CHANGELOG (accessed 2026-12-05) ↩ ↩2 ↩3

  3. HAProxy wiki, SSL Libraries Support Status. https://github.com/haproxy/wiki/wiki/SSL-Libraries-Support-Status (accessed 2026-12-05) ↩

  4. 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) ↩

  5. 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

  6. haproxy/haproxy issue 2603, Support X25519Kyber768Draft00 or X25519Kyber768, 2024-06-11. https://github.com/haproxy/haproxy/issues/2603 (accessed 2026-12-05) ↩ ↩2 ↩3

  7. HAProxy 2.8 Configuration Manual. https://docs.haproxy.org/2.8/configuration.html (accessed 2026-12-05) ↩

  8. HAProxy 3.0 Configuration Manual. https://docs.haproxy.org/3.0/configuration.html (accessed 2026-12-05) ↩

  9. HAProxy wiki, OpenSSL Providers in HAProxy, section oqsprovider. https://github.com/haproxy/wiki/wiki/OpenSSL-Providers-in-HAProxy (accessed 2026-12-05) ↩

  10. 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) ↩

  11. docker-library/haproxy, 3.5/Dockerfile at commit ef446db. https://github.com/docker-library/haproxy/blob/ef446db/3.5/Dockerfile (accessed 2026-12-05) ↩ ↩2

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

  13. docker-library/haproxy, 3.5/alpine/Dockerfile at commit ef446db. https://github.com/docker-library/haproxy/blob/ef446db/3.5/alpine/Dockerfile (accessed 2026-12-05) ↩

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

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

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


Edit: HAProxy

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.