How to Enable Post-Quantum TLS on Apache

By Team Cyber Kendra • • 1 Min Read • Follow on Google News Add to Preferred Source

Facts last checked: December 4, 2026

Apache’s mod_ssl uses the OpenSSL library installed on the server. OpenSSL 3.5 and later include the hybrid X25519MLKEM768 group in their defaults and prefer it, so the main job is getting Apache onto OpenSSL 3.5.

1. Check the OpenSSL version

openssl version

Apache logs the OpenSSL library it loaded when it starts; check your error log for the mod_ssl start-up line. You need 3.5 or later. Debian 13, RHEL, AlmaLinux and Rocky Linux 10.1, SLES 16 and Ubuntu 25.10 and 26.04 ship it.

2. Make sure TLS 1.3 is allowed

SSLProtocol -all +TLSv1.2 +TLSv1.3

3. If you set curves or groups yourself

Apache passes OpenSSL settings through SSLOpenSSLConfCmd (Apache 2.4.8 and later). If your config restricts the groups, put the hybrid one first:

SSLOpenSSLConfCmd Groups X25519MLKEM768:X25519:prime256v1:secp384r1

Apache does not publish an official post-quantum example; this uses OpenSSL’s standard configuration command. If you have no such line, leave it out and the OpenSSL defaults apply.

4. Reload and test

sudo apachectl configtest && sudo systemctl reload apache2
openssl s_client -groups X25519MLKEM768 -tls1_3 -connect example.com:443

On RHEL-family systems the service is httpd.

Sources

Latest Articles

View all