MENTECHLet’s talkالعربية
Menu

Make your website quantum-ready

Make it quantum-ready.

Someone can copy your encrypted traffic today and open it when quantum computers arrive. One setting closes that door for up-to-date browsers. Older ones keep working, without this protection.

Before you start

  • Whoever runs your server or hosting can do this. Send them this page.
  • Copy the settings file to another folder, such as your home folder, before you change it. Putting it back is the way to undo this.
  • Most servers need OpenSSL 3.5 or newer. Debian 13, Ubuntu 26.04 and Red Hat 10.1 include it. Ubuntu 24.04 and older do not. On Red Hat 9, also run sudo update-crypto-policies --set DEFAULT:PQ and restart the web server.

The steps

Check the OpenSSL version with nginx -V. On 3.5 or newer this is on by itself, unless an ssl_ecdh_curve line leaves it out. Replace that line with this one in every site on the server, because the first site decides for all.

ssl_protocols TLSv1.2 TLSv1.3;
ssl_ecdh_curve X25519MLKEM768:X25519:secp384r1:prime256v1;

Then check the settings and reload.

sudo nginx -t && sudo nginx -s reload

If it shows an error, or the site stops, put the saved copy back and restart the server program at once.

Check that it worked

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

With OpenSSL 3.5 or newer, the answer names X25519MLKEM768. Run it on the server. The openssl that comes with a Mac cannot do this.

To undo it

Put the saved copy of the settings back, then check and reload again.

Common mistakes

  • Listing only the new method. Older browsers then cannot connect at all.
  • Adding the new method on an older OpenSSL. NGINX and HAProxy refuse it, but Apache's check misses it and Apache stops.
  • Copying a sample that also allows TLS 1.3 only, which turns some visitors away.
Have us fix it for you
CallWhatsAppLet’s talk