pqcheck.si
Language: English

Web servers

Post-quantum TLS on HAProxy

StatusNeeds a settingYou needHAProxy built with AWS-LC (Community 3.3+ packages or Enterprise 3.2+), or with OpenSSL 3.5+Checked4 December 2026 · 1 source

HAProxy needs a TLS library that knows the hybrid groups. HAProxy Technologies ships builds linked against AWS-LC that do. Set the group list explicitly so it does not depend on library defaults.

Requirements

See which TLS library HAProxy uses:

haproxy -vv | grep -iE 'ssl|aws-lc'

Turn it on

Set the groups for client-facing (bind) and, if you like, backend (server) connections:

haproxy.cfg (global section)

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

Check and reload:

haproxy -c -f /etc/haproxy/haproxy.cfg && systemctl reload haproxy

Check that it worked

Run the checker against your hostname. It reports X25519MLKEM768 as supported once the change is live.

From a terminal, with an OpenSSL 3.5+ client. Output that names X25519MLKEM768 means it works, a handshake failure alert means it does not:

openssl s_client -connect example.com:443 -servername example.com \
  -tls1_3 -groups X25519MLKEM768 </dev/null 2>&1 | grep -iE 'group|alert'

Common problems

Sources

  1. HAProxy blog: How to enable post-quantum cryptography

More guides: Web servers

nginxApache httpdCaddyTraefik