Switch off TLS 1.0 and 1.1
Switch off the old versions.
TLS 1.0 and 1.1 have known weaknesses, and every major browser stopped using them in 2020. Security audits and card-payment rules ask for them to be off.
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.
- List anything old that connects to this server: payment terminals, scanners, machines older than 2014. Test them before and after.
The steps
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 reloadIf it shows an error, or the site stops, put the saved copy back and restart the server program at once.
Replace every SSLProtocol line with this one. If there is none, add it to the main settings, outside any site.
SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1Then check the settings and reload.
sudo apachectl configtest && sudo apachectl gracefulIf it shows an error, or the site stops, put the saved copy back and restart the server program at once.
Put this line last in the global section, and delete any ssl-min-ver from the bind lines.
ssl-default-bind-options ssl-min-ver TLSv1.2Then check the settings and reload.
sudo haproxy -c -f /etc/haproxy/haproxy.cfg && sudo systemctl reload haproxyIf it shows an error, or the site stops, put the saved copy back and restart the server program at once.
Already off. If our check says otherwise, delete the protocols line from the tls settings, and the tls { } around it if that leaves it empty.
Then check the settings and reload.
sudo systemctl reload caddyIf it shows an error, or the site stops, put the saved copy back and restart the server program at once.
On in most versions, so check yours. On Windows Server 2022 or newer, open the site's Bindings, https, in IIS Manager and tick Disable Legacy TLS. Very old TLS 1.2 programs may stop connecting too.
Under SSL/TLS, Edge Certificates, set Minimum TLS Version to 1.2. It starts at 1.0.
Load balancer: choose the policy below for the HTTPS listener, after noting the current one. It also makes the site quantum-safe. With several HTTPS listeners, choose ELBSecurityPolicy-TLS13-1-2-Res-2021-06 instead, which needs no downtime. CloudFront: choose TLSv1.2_2021.
ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09In WHM, open Apache Configuration, Global Configuration, and set SSL/TLS Protocols to the line below. Save, then rebuild and restart Apache.
all -SSLv2 -SSLv3 -TLSv1 -TLSv1.1Run this on the server as administrator. It changes every site and the mail service, so test old mail programs afterwards.
plesk bin server_pref -u -ssl-protocols 'TLSv1.2 TLSv1.3'Check that it worked
openssl s_client -tls1_1 -cipher 'DEFAULT@SECLEVEL=0' -connect example.com:443 -servername example.com </dev/nullGood: an alert about the protocol version. "No protocols available" comes from the computer you run it on and proves nothing. Repeat it with -tls1 in place of -tls1_1. 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.
- Allowing TLS 1.3 only. Visitors with slightly older devices are turned away.