Enable X25519MLKEM768 Post-Quantum TLS in HAProxy
Finding / Symptom: HAProxy load balancers negotiate classical ECDHE curves instead of hybrid ML-KEM.
Link HAProxy against OpenSSL 3.5+ and set ssl-default-bind-curves to include X25519MLKEM768.
Copy-Paste Configuration Fix
# /etc/haproxy/haproxy.cfg (requires HAProxy linked with OpenSSL >= 3.5)
global
ssl-default-bind-options ssl-min-ver TLSv1.3 no-tls-tickets
ssl-default-bind-curves X25519MLKEM768:SecP384r1MLKEM1024:X25519:secp384r1
Verify Live
haproxy -vv | grep -i openssl && openssl s_client -connect yourdomain.com:443 -tls1_3 -groups X25519MLKEM768 </dev/null
Test your stack live: SSL / TLS 1.3 & Post-Quantum Checker
Frequently Asked Questions
- How do I check which OpenSSL version HAProxy uses?
- Run `haproxy -vv | grep -i openssl`. You need OpenSSL 3.5.0 or newer for native ML-KEM support.