Chris Staite 4a3984894d BUG/MEDIUM: ssl: allow the ML-KEM groups in the FIPS curve check
Since commit 96c7759f3 ("MEDIUM: ssl: add FIPS elliptic curve check for
AWS-LC"), ssl_fips_check_curves() only accepts P-256, P-384 and P-521
when the library runs in FIPS mode, and refuses to start on anything
else. This also rejects the ML-KEM based key exchange groups, which makes
it impossible to enable post-quantum key exchange in FIPS mode:

  ssl-default-server-curves SecP256r1MLKEM768:X25519MLKEM768:P-256:P-384

  [ALERT] 'server <CLT-OCSP-CHK>/<HTTPSCLIENT>' : FIPS mode active but
  non-FIPS curve(s) configured: 'SecP256r1MLKEM768', 'X25519MLKEM768'.

This was observed with AWS-LC FIPS 4.2.0. The same applies to "curves"
on bind and server lines and to ssl-default-bind-curves.

These groups are in fact fine in FIPS mode. ML-KEM is standardized in
FIPS 203, and NIST SP 800-56C Rev. 2 allows a shared secret made of
several components to be used in key derivation as long as one of them
is generated by an approved scheme, which is the case of ML-KEM. This
makes X25519MLKEM768 acceptable despite X25519 alone not being approved.
For SecP256r1MLKEM768 and SecP384r1MLKEM1024 both components are
approved anyway. AWS-LC itself does not restrict these groups when built
in FIPS mode: they are part of its default group list and its service
indicator reports ML-KEM as approved.

The impact is significant since X25519MLKEM768 is the only post-quantum
hybrid group implemented by Chromium and the only one enabled by default
in Firefox (which only uses SecP256r1MLKEM768 after a configuration
change), so browsers cannot get a post-quantum key exchange from a FIPS
HAProxy without it.

Let's add NID_X25519MLKEM768, NID_SecP256r1MLKEM768,
NID_SecP384r1MLKEM1024 and NID_MLKEM512/768/1024 to the list of approved
NIDs, each one being guarded by #ifdef since they depend on the AWS-LC
version. Everything else (X25519 alone, X448, brainpool, P-224, the
pre-standard Kyber drafts) is still rejected.

This must be backported to 3.5.
2026-12-03 17:05:36 +01:00
…
2026-12-02 16:36:16 +01:00
…
2026-10-19 08:50:01 +00:00
…
2026-12-02 16:18:55 +01:00
2026-12-02 16:36:16 +01:00

HAProxy

Illumos NetBSD CrossCompile FreeBSD VTest

HAProxy logo

HAProxy is a free, very fast and reliable reverse-proxy offering high availability, load balancing, and proxying for TCP and HTTP-based applications.

Installation

The INSTALL file describes how to build HAProxy. A list of packages is also available on the wiki.

Getting help

The discourse and the mailing-list are available for questions or configuration assistance. You can also use the slack or IRC channel. Please don't use the issue tracker for these.

The issue tracker is only for bug reports or feature requests.

Documentation

The HAProxy documentation has been split into a number of different files for ease of use. It is available in text format as well as HTML. The wiki is also meant to replace the old architecture guide.

Please refer to the following files depending on what you're looking for:

The more detailed documentation is located into the doc/ directory:

License

HAProxy is licensed under GPL 2 or any later version, the headers under LGPL 2.1. See the LICENSE file for a more detailed explanation.

Languages
C 98%
Shell 0.9%
Makefile 0.5%
Lua 0.2%
Python 0.2%