How to disable TLS 1.0 and 1.1 without breaking your site
Turn off TLS 1.0 and 1.1 in nginx, Apache, Cloudflare and AWS load balancers. How to check who still uses them first, and how to verify the change afterwards.
· 6 min read · By the Spot Downtime team
TLS 1.0 and 1.1 are obsolete. Major browsers stopped supporting them in 2020, and standards such as PCI DSS require them to be off. Security scanners flag any server that still accepts them. Yet many servers still do, because the defaults of an old install were never changed.
Turning them off is a one-line change. The risk is the clients that still depend on them, so the order of work matters: measure, change, verify.
Step 1: check what your server accepts today
The quickest check needs no tools: enter your hostname in the TLS version and HTTP/2 checker and read which versions are accepted. From the command line:
# Does the server accept TLS 1.0 or 1.1? A successful handshake means yes.
openssl s_client -connect example.com:443 -tls1 </dev/null
openssl s_client -connect example.com:443 -tls1_1 </dev/null
# All versions and ciphers at once
nmap --script ssl-enum-ciphers -p 443 example.comMany current OpenSSL builds refuse to speak TLS 1.0 and 1.1 at all, in which case s_client fails locally with an error such as "no protocols available". That tells you nothing about the server, so use nmap or the web tool instead.
Step 2: find out who still uses the old versions
Don't guess. Log the protocol for every request for a week or two and count. In nginx:
log_format tls '$remote_addr "$http_user_agent" $ssl_protocol $ssl_cipher';
access_log /var/log/nginx/tls.log tls;awk '{print $(NF-1)}' /var/log/nginx/tls.log | sort | uniq -c | sort -rnIf nothing shows TLSv1 or TLSv1.1, you can switch them off with confidence. If something does, look at the user agents. The usual survivors are old embedded devices, legacy payment terminals, ancient Java or .NET runtimes, and some monitoring or integration scripts. Upgrade those clients when you can. Where you can't, decide consciously whether the business need outweighs the security risk, and write it down.
Behind a CDN or load balancer, this log only shows the connection from the CDN. Use the CDN's own analytics or logs for the client side.
Step 3: change the configuration
nginx
ssl_protocols TLSv1.2 TLSv1.3;Put it in the http block or in each server block that has ssl enabled. TLS 1.3 needs nginx built against OpenSSL 1.1.1 or newer. Test and reload:
sudo nginx -t && sudo systemctl reload nginxApache
SSLProtocol -all +TLSv1.2 +TLSv1.3+TLSv1.3 requires Apache 2.4.36 or newer with OpenSSL 1.1.1. On older builds use SSLProtocol -all +TLSv1.2. Check with apachectl configtest before reloading.
Cloudflare
In the dashboard, open SSL/TLS, then Edge Certificates, and set the minimum TLS version to 1.2. This controls the connection between visitors and Cloudflare. The connection from Cloudflare to your origin is separate and is set on your origin server as above.
AWS load balancers
On an Application or Network Load Balancer, the HTTPS listener uses a security policy. Choose one that sets TLS 1.2 as the minimum, such as ELBSecurityPolicy-TLS13-1-2-2021-06, which also enables TLS 1.3. For CloudFront, pick a viewer security policy of TLSv1.2 or newer.
Step 4: verify, then watch for failures
- Run the TLS checker or
nmapagain and confirm that only TLS 1.2 and 1.3 are accepted. - Load the site in a current browser and confirm it still works over HTTP/2.
- Test every integration that calls your server: webhooks, mobile apps, partner systems, payment callbacks.
- Watch error rates and support tickets for a few days.
A client that cannot negotiate a common version fails at the handshake, before any HTTP request is made. Your application logs won't show it, only the TLS layer will. Typical client-side messages are ERR_SSL_VERSION_OR_CIPHER_MISMATCH in Chrome and handshake failure or protocol version in libraries and scripts. See also ERR_SSL_PROTOCOL_ERROR.
Keep a rollback ready
What to expect from monitoring
Spot Downtime treats a TLS error as a failed check, so a monitor on your site shows at once if the new settings break the handshake for the client it uses. That confirms the server answers, but it is one modern client: it will not tell you about the old device that silently stopped working. For that, the log from step 2 is the right tool. Keep the SSL monitoring on, since the same certificate expiry warnings apply whichever protocol versions you allow.
Summary
- Allow TLS 1.2 and 1.3, and nothing older.
- Measure real client usage before the change, not after.
- Change the CDN or load balancer setting and the origin, since they are separate connections.
- Verify from outside, and keep the old line handy for a quick rollback.
Get new guides by email
Practical posts on monitoring, outages, error fixes and on-call, when they're published. No spam.
Keep reading
- SSL · TroubleshootingWildcard SSL certificates: what they cover, what they don't, and how to renew themA wildcard certificate covers one level of subdomains, not the bare domain or deeper names. How matching works, how to issue and renew one, and the risks to know.November 24, 2026 · 6 min read
- SSL · Browser errors · TroubleshootingERR_
SSL_ UNRECOGNIZED_ NAME_ ALERT: the server doesn't know this hostnameChrome shows this when a server rejects the hostname sent during the TLS handshake (SNI). How to find the missing virtual host in nginx, Apache or your load balancer.November 23, 2026 · 6 min read