pqcheck.si
Language: English

Web servers

Post-quantum TLS on Apache httpd

StatusOn after an upgradeYou needmod_ssl linked against OpenSSL 3.5 or newerChecked4 December 2026 · 2 sources

Apache's mod_ssl also takes its groups from OpenSSL. With OpenSSL 3.5 underneath and no explicit group list, X25519MLKEM768 is offered automatically.

Requirements

The startup line in the error log names the OpenSSL version mod_ssl uses:

grep -i 'openssl/' /var/log/apache2/error.log | tail -n 1   # or /var/log/httpd/error_log

Turn it on

Nothing to add if you never set curves or groups. If you did, put the hybrid group first:

ssl.conf or the VirtualHost

SSLProtocol -all +TLSv1.2 +TLSv1.3
SSLOpenSSLConfCmd Groups X25519MLKEM768:X25519:prime256v1:secp384r1

Check and reload:

apachectl configtest && apachectl graceful

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. Apache mod_ssl: SSLOpenSSLConfCmd
  2. OpenSSL 3.5 release notes

More guides: Web servers

nginxCaddyHAProxyTraefik