Anyone following post-quantum cryptography may have noticed something curious: on servers with the same operating system, the key exchange group X25519MLKEM768 is successfully negotiated on LiteSpeed, but not on Apache. The cPanel support team published an explanation, and it has little to do with configuration. It has to do with which cryptography library each web server uses.
What X25519MLKEM768 is
When a visitor opens your site over HTTPS, the browser and server first agree on the keys that will protect the conversation. This step is the key exchange. X25519MLKEM768 is a hybrid post-quantum key exchange, that is, it combines a classical method with a method designed to resist quantum computers.
What is the difference between Apache and LiteSpeed
According to the cPanel article, the reason is as follows:
- The Apache from EasyApache 4 uses the OpenSSL libraries of the operating system itself.
- LiteSpeed does not depend on these libraries for this function.
- The group
X25519MLKEM768requires OpenSSL 3.5 or higher. - On AlmaLinux 8 and CloudLinux 8, the system's OpenSSL is
1.1.1k, which does not include this support.
In practice, Apache is limited to what the system's OpenSSL offers. Since version 1.1.1k is older than 3.5, negotiation of this group does not happen. LiteSpeed, by not relying on the system's OpenSSL at this point, can negotiate the same group on the same operating system.
Who is affected
The situation described applies to servers with Apache via EasyApache 4 on systems whose OpenSSL is older than version 3.5, such as the examples cited: AlmaLinux 8 and CloudLinux 8. This includes cPanel hosting environments running on these bases.
The article does not detail what happens to the visitor's connection when the group is not negotiated, nor does it treat this as a security flaw in the site. It only explains why behavior differs between the two web servers. Therefore, you cannot conclude from this that your site is insecure or offline.
What this means for website owners and resellers
- It is not a configuration error on your part. If a test shows that the group does not negotiate on Apache, this is a consequence of the system's OpenSSL version, not something you misconfigured in the panel.
- The choice of web server matters. For those who want to see this key exchange group in use today, LiteSpeed negotiates it in the scenarios described, while Apache on those systems does not.
- The operating system also matters. The requirement is OpenSSL 3.5 or higher, and the system version determines what Apache can use.
What to do
- Find out which web server and which operating system your plan or server uses.
- If you run compatibility tests with post-quantum cryptography, keep in mind that the results will vary depending on whether you use Apache or LiteSpeed.
- On VPS or dedicated servers you manage yourself, evaluate this OpenSSL requirement when planning updates and choosing the system. If you need help with this planning, Dataloft's server management can support your project's technical team.
Not sure which combination your environment uses? Talk to the Dataloft team and ask for an analysis.
Conclusion
The difference between LiteSpeed and Apache here does not come from a defect, but from dependency: the Apache from EasyApache 4 uses the system's OpenSSL, which on AlmaLinux 8 and CloudLinux 8 is 1.1.1k and does not support X25519MLKEM768, which requires OpenSSL 3.5 or higher. Understanding this relationship helps you interpret tests and plan your environment more securely.
Source: cPanel Support Topics – Why does X25519MLKEM768 negotiate on LiteSpeed but not on Apache?