Enable post-quantum TLS (X25519MLKEM768) on Apache httpd (mod_ssl)
How to offer the hybrid post-quantum key exchange X25519MLKEM768 on Apache httpd (mod_ssl), from the vendor's documentation, checked on December 4, 2026.
Steps
- Check the requirements: httpd 2.4.8+ built with OpenSSL 3.5+.
- Apply the configuration below.
- Reload the service and check it again on checkmypqc.com.
Recommended now: post-quantum first, classical kept
SSLProtocol -all +TLSv1.2 +TLSv1.3
SSLOpenSSLConfCmd Groups X25519MLKEM768/X25519:secp256r1:secp384r1
Groups takes OpenSSL's syntax: the "/" makes the server ask for X25519MLKEM768 even from clients that sent only an X25519 key share. SSLHonorCipherOrder alone does not do that.
Later: require post-quantum
SSLProtocol -all +TLSv1.3
SSLOpenSSLConfCmd Groups X25519MLKEM768:SecP256r1MLKEM768:SecP384r1MLKEM1024
Findings
- HighNo post-quantum key exchange
CMP-TLS-KX-CLASSICAL - HighTLS 1.3 is not enabled
CMP-TLS-NO-TLS13 - HighOnly a pre-standard post-quantum group
CMP-TLS-KX-DRAFT-ONLY - HighBrowsers get classical key exchange
CMP-TLS-KX-NOT-PREFERRED - MediumCurrent browsers are refused
CMP-TLS-KX-BROWSER-REFUSED - LowA draft group is still accepted
CMP-TLS-KX-DRAFT-ENABLED - LowTLS 1.2 is still accepted
CMP-TLS-TLS12-ACCEPTED