Enable post-quantum TLS (X25519MLKEM768) on HAProxy
How to offer the hybrid post-quantum key exchange X25519MLKEM768 on HAProxy, from the vendor's documentation, checked on December 4, 2026.
Steps
- Check the requirements: HAProxy Community 3.3+ or Enterprise 3.2+ (AWS-LC builds), or a build linked with OpenSSL 3.5+.
- Apply the configuration below.
- Reload the service and check it again on checkmypqc.com.
Recommended now: post-quantum first, classical kept
global
ssl-default-bind-options ssl-min-ver TLSv1.2
ssl-default-bind-curves X25519MLKEM768:X25519:P-256
HAProxy uses the server's order by default. The hybrid groups come with HAProxy's own AWS-LC builds (check haproxy -vv) or a build linked with OpenSSL 3.5.
Later: require post-quantum
global
ssl-default-bind-options ssl-min-ver TLSv1.3
ssl-default-bind-curves X25519MLKEM768:SecP256r1MLKEM768:SecP384r1MLKEM1024
SecP384r1MLKEM1024 needs AWS-LC 4.0+ (Community 3.2+ performance packages or Enterprise 3.4r1+): drop it from the list otherwise.
Findings
- HighNo post-quantum key exchange
CMP-TLS-KX-CLASSICAL - HighTLS 1.3 is not enabled
CMP-TLS-NO-TLS13 - HighOnly a pre-standard post-quantum group
CMP-TLS-KX-DRAFT-ONLY - HighBrowsers get classical key exchange
CMP-TLS-KX-NOT-PREFERRED - MediumCurrent browsers are refused
CMP-TLS-KX-BROWSER-REFUSED - LowA draft group is still accepted
CMP-TLS-KX-DRAFT-ENABLED - LowTLS 1.2 is still accepted
CMP-TLS-TLS12-ACCEPTED