Post-Quantum Cryptography (PQC)

Category: TLS (SSL)
Created: 2026-12-03

The term “post-quantum cryptography” (PQC) refers to cryptographic algorithms that cannot be broken even by powerful quantum computers. Today’s widely used public-key algorithms such as RSA and elliptic curves (ECDH, ECDSA) rely on mathematical problems that a sufficiently large quantum computer could solve efficiently. PQC algorithms such as ML-KEM (key exchange, FIPS 203) and ML-DSA (signatures, FIPS 204), on the other hand, are based on different problems, for example from lattice mathematics.

PQC is currently a hot topic in the media – not least because the NSA (and the German BSI) recommend a swift migration to PQC. In its technical guideline TR-02102, the BSI specifies that from the end of 2031, RSA and ECC should only be used in combination with PQC (for particularly critical applications as early as the end of 2030). The BSI explicitly recommends hybrid schemes that combine a classical algorithm with a PQC algorithm.

The reason for the urgency is called “store now, decrypt later”: attackers can record encrypted traffic today and decrypt it later, as soon as a suitable quantum computer becomes available. This is why the key exchange during connection setup (e.g. in TLS) in particular should be switched to PQC now.

Support in OpenSSL

OpenSSL, the de facto standard library for encryption, supports PQC algorithms by default as of version 3.5, i.e. without any additional providers or configuration. With TLS 1.3, the hybrid scheme X25519MLKEM768 (X25519 combined with ML-KEM-768) is automatically preferred; peers without PQC support continue to use classical X25519. Current browsers (Chrome, Firefox, Safari, Edge) already support X25519MLKEM768.

OpenSSL 3.5 is an LTS release, supported until April 2030. Here is an overview of which Linux distributions ship with which OpenSSL version:

Distribution OpenSSL version PQC by default
Debian 12 (Bookworm) 3.0 no
Debian 13 (Trixie) 3.5 yes
Ubuntu 22.04 LTS 3.0 no
Ubuntu 24.04 LTS 3.0 no
Ubuntu 26.04 LTS 3.5 yes
Rocky Linux 9.0 – 9.6 3.0 or 3.2 no
Rocky Linux 9.7 3.5 yes
Rocky Linux 10.0 3.2 no
Rocky Linux 10.1 3.5 yes

On Rocky Linux (and RHEL), the permitted algorithms are additionally controlled by the system-wide crypto policies. In FIPS mode, X25519MLKEM768 is not available; only the NIST variants SecP256r1MLKEM768 and SecP384r1MLKEM1024 can be used there.

You can check the installed version with openssl version.

Support in LiveConfig

LiveConfig v3 includes OpenSSL 3.5 and therefore supports PQC algorithms by default – regardless of the OpenSSL version shipped with the Linux distribution. This applies to all TLS connections provided by LiveConfig itself, in particular the web interface and the communication between LiveConfig servers. No configuration is required.

Web servers, mail servers and other services (Apache, NGINX, Postfix, Dovecot, …), however, use the distribution’s OpenSSL version. Whether these services use PQC therefore depends on the distribution in use (see the table above).

Support in web servers (Apache httpd, NGINX)

Many guides on the internet recommend enabling PQC in Apache with SSLOpenSSLConfCmd, or in NGINX with ssl_conf_command or ssl_ecdh_curve, e.g.:

SSLOpenSSLConfCmd Groups X25519MLKEM768:x25519:secp256r1:secp384r1

With OpenSSL 3.5 or later, this is unnecessary: without such directives, Apache and NGINX use OpenSSL’s default list, which already has X25519MLKEM768 in first place.

Such directives can even be counterproductive:

  • They completely replace the default list. Future improvements to OpenSSL’s defaults (e.g. new PQC algorithms) will then no longer be applied automatically.
  • Older hardening templates with SSLOpenSSLConfCmd Curves … or ssl_ecdh_curve X25519:secp384r1 do not include ML-KEM and thus silently disable PQC.
  • With an OpenSSL version older than 3.5, the name X25519MLKEM768 is unknown, and the web server may fail to start.

Our recommendation: remove existing Groups, Curves or ssl_ecdh_curve directives unless there is a specific reason for them. If a restriction is necessary, extend the default list instead of replacing it, e.g. with SSLOpenSSLConfCmd Groups ?X25519MLKEM768:DEFAULT.

Checking whether PQC is active

With an OpenSSL 3.5 client, you can test which algorithm is negotiated:

openssl s_client -connect www.example.com:443 -brief </dev/null

The output should contain Negotiated TLS1.3 group: X25519MLKEM768. Alternatively, Chrome and Firefox show the key exchange algorithm in use in their developer tools (Security tab).

What about SSL certificates?

There are no publicly trusted PQC variants of TLS certificates yet: the CA/Browser Forum has not yet approved ML-DSA for public TLS certificates. Let’s Encrypt and Chrome are instead focusing on so-called Merkle Tree Certificates, which are currently being standardized and tested. Existing RSA and ECDSA certificates can and should therefore continue to be used for the time being.

This is less critical than it sounds: a certificate only protects authenticity at the moment the connection is established and cannot be “decrypted” retroactively. The confidentiality of recorded data depends solely on the key exchange – and that is already PQC-protected with X25519MLKEM768.

For new certificates, we recommend ECDSA keys (P-256 or P-384) or RSA with at least 3072 bits. As soon as PQC certificates become generally available, LiveConfig will support them.

Conclusion

If you want to use PQC algorithms, there is no way around OpenSSL 3.5 (and thus Debian 13, Ubuntu 26.04 or Rocky Linux 9.7/10.1). There are a few workarounds, but we will not go into them here. You do not need to change anything in your configuration – after updating to a current distribution, the new algorithms are available automatically.