Skip to content
Quantum Aether/Enable post-quantum TLS on nginx (X25519MLKEM768) · Quantum Aether
Live platformالعربية

Enable post-quantum TLS on nginx (X25519MLKEM768)

Choose your server or platform. You get the version check, the configuration, and how to verify that browsers now negotiate X25519MLKEM768.

Which version do you run?

1. Check your version

nginx
nginx -V 2>&1 | grep -o 'OpenSSL [0-9.]*'
openssl version

2. Configure

nginx
server {
    listen 443 ssl;
    http2 on;
    ssl_protocols TLSv1.2 TLSv1.3;
    ssl_ecdh_curve X25519MLKEM768:X25519:prime256v1;
    # ... certificates and the rest of your config
}

Also look in included files such as /etc/letsencrypt/options-ssl-nginx.conf for another ssl_ecdh_curve line.

An explicit group or curve list copied from an old hardening guide silently removes the hybrid group. Delete it, or keep X25519MLKEM768 first as shown.

3. Test and reload

nginx
nginx -t && systemctl reload nginx

4. Verify

nginx
openssl s_client -connect example.com:443 -groups X25519MLKEM768 </dev/null 2>/dev/null | grep -i group

Full guide with background and pitfalls →

After the change

Run a free check of your domain below. Grade A means TLS 1.3 with hybrid post-quantum key exchange. The result page can also check every subdomain listed in public certificate logs, so you can see which hosts still need the same change.

Scan your site now, free

Domain or HTTP(S) URL. HTTPS port 443 is checked; paths and pasted URL ports are not scanned.