Home / Learn / Fix‑it guides

Fix‑it guide

Enable post-quantum TLS on Apache httpd

Updated December 4, 2026 · QDay Index team

Apache's mod_ssl uses OpenSSL, so post‑quantum key exchange arrives with OpenSSL 3.5 or later, where X25519MLKEM768 is first in the default group list.

1. Check the OpenSSL version Apache uses

httpd -V | grep -i ssl     # or: apachectl -V
ldd $(which httpd) | grep -i libssl

You need OpenSSL 3.5+. If your distribution ships an older version, upgrade the OS, use a newer container image, or terminate TLS at a CDN or load balancer that supports post‑quantum TLS.

2. Enable TLS 1.3 and remove legacy versions

SSLProtocol -all +TLSv1.2 +TLSv1.3

3. Leave the defaults, or set the groups explicitly

With no group setting, OpenSSL 3.5 offers the hybrid first. If you set groups yourself, keep the hybrid at the front:

SSLOpenSSLConfCmd Groups X25519MLKEM768:X25519:prime256v1

Run apachectl configtest, then reload. On an older OpenSSL, the unknown group name will make the config fail.

Check that it worked

From a machine with OpenSSL 3.5 or later:

openssl s_client -connect example.com:443 -groups X25519MLKEM768 </dev/null 2>/dev/null | grep -i "group"

You should see X25519MLKEM768 as the negotiated group. Or run a readiness scan: the post‑quantum key exchange check turns green when the hybrid group is accepted.

Other fix‑it guides

Vendor features change quickly; check your provider's current documentation before changing production systems.