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

Switch on TLS 1.3

Switch on the latest version.

TLS 1.3 is faster and safer, and quantum-safe encryption works only on it. Visitors with older browsers keep using TLS 1.2.

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.
  • Choose a quiet hour, and stay until the check passes.

The steps

Needs NGINX 1.13 and OpenSSL 1.1.1 or newer. Replace every ssl_protocols line with this one. If there is none, add it to the http section of nginx.conf.

ssl_protocols TLSv1.2 TLSv1.3;

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 -tls1_3 -connect example.com:443 -servername example.com </dev/null

The answer should contain TLSv1.3. 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

  • Changing one site and forgetting the others. Search every settings file for the same line.
  • Choosing a setting that allows TLS 1.3 only. Keep TLS 1.2 beside it.
Have us fix it for you
CallWhatsAppLet’s talk