Allow only TLS 1.2 and 1.3: turning off the old protocols

To disable TLS 1.0 and 1.1, set your web server or CDN to accept only TLS 1.2 and 1.3, then reload the configuration. On Apache that is the SSLProtocol directive, on Nginx it is ssl_protocols, and on a CDN it is the minimum TLS version in the dashboard.

How to fix5 min read

TLS 1.0 (1999) and TLS 1.1 (2006) rely on dated cryptography. They are exposed to attacks like BEAST and POODLE, they fail PCI DSS for sites that take card payments, and every current browser already prefers newer protocols. Turning them off rarely affects modern visitors.

Below are the exact changes for the most common setups and how to confirm the result. Our free external scan reports whether a site still accepts TLS 1.0 or 1.1, so you can check before and after.

Why TLS 1.0 and 1.1 are weak

Both protocols use cryptography that newer attacks can pick apart. They were formally deprecated by the IETF in 2021, and the major browsers dropped support in 2020, so leaving them enabled mostly helps an attacker who can sit between a visitor and your site rather than helping real visitors.

  • BEAST targets a weakness in how TLS 1.0 handles CBC cipher blocks.
  • POODLE and its TLS variants abuse padding in older protocols to recover small pieces of data.
  • TLS 1.0 and 1.1 lack the modern cipher suites and authenticated encryption that 1.2 and 1.3 use as standard.
  • PCI DSS requires TLS 1.0 to be switched off and treats 1.1 as a weak protocol to migrate away from, so card-handling sites should accept only 1.2 and 1.3.

How to disable TLS 1.0 and 1.1 on Apache

In your SSL virtual host or the mod_ssl configuration, set the allowed protocols explicitly. The minus removes everything, then you add back only the versions you want to keep.

Always test the configuration before reloading so a typo cannot take the site down.

  • Set: SSLProtocol -all +TLSv1.2 +TLSv1.3
  • Check syntax: apachectl configtest
  • Apply: sudo systemctl reload apache2 (or httpd on RHEL and CentOS)
  • TLS 1.3 needs OpenSSL 1.1.1 or newer and a recent Apache build; if 1.3 is unsupported, +TLSv1.2 on its own is still fine.

How to disable TLS 1.0 and 1.1 on Nginx

Set the ssl_protocols directive in the http or server block and list only the versions you want to keep. Naming 1.2 and 1.3 means everything older is refused.

As with Apache, test before you reload.

  • Set: ssl_protocols TLSv1.2 TLSv1.3;
  • Test: sudo nginx -t
  • Apply: sudo systemctl reload nginx
  • Put the directive in the http block so it applies to every server block, unless you need per-site differences.

Free, instant, no account

See your site's security grade in seconds.

Free, instant, and no account needed to see your grade.

Scan my site free

Plain-English A to E grade in about 10 seconds. No account needed to see it.

Disabling old TLS behind a CDN or proxy

If your traffic passes through a CDN or proxy, the visitor connects to the CDN first, so the minimum TLS version is set there, not only on your origin. Most providers expose a single setting for it.

Set a sensible minimum on the origin as well, so the link between the CDN and your server is not the weak point.

  • Cloudflare: SSL/TLS, then Edge Certificates, set Minimum TLS Version to 1.2.
  • Fastly, AWS CloudFront and similar: choose a security policy that starts at TLSv1.2.
  • After changing the CDN, raise the minimum on the origin web server using the Apache or Nginx steps above.

Confirm the change and watch for breakage

After reloading, check that old protocols are genuinely refused and that 1.2 and 1.3 still work. A quick command-line test is the most direct way to confirm it.

The main thing to watch for is very old clients: legacy payment terminals, ancient Android versions, or scripts pinned to an old library. In practice almost all modern browsers and devices are unaffected.

  • This should fail once old TLS is off: openssl s_client -connect yourdomain.com:443 -tls1_1
  • This should succeed: openssl s_client -connect yourdomain.com:443 -tls1_2
  • Online: our free EB Security scan reports whether TLS 1.0 or 1.1 is still accepted from the outside.
  • Scope: the scan only reads what your site serves publicly. It checks which protocol versions the site accepts and does not log in, change your configuration or test internal systems, so treat it as a fast before-and-after signal, not a full audit.

Allow only TLS 1.2 and 1.3 on your server and CDN, test the config before you reload, then confirm with openssl or a free external scan that the old versions are refused.

Common questions

Will disabling TLS 1.0 and 1.1 break my website?
For almost all visitors, no. Every current browser and modern device already uses TLS 1.2 or 1.3. The only clients that may struggle are very old systems, such as legacy payment terminals or unpatched Android phones, so test first if you know you have such users.
Is TLS 1.2 still safe, or do I need TLS 1.3 as well?
TLS 1.2 is still considered secure when configured with strong cipher suites, and it remains widely used. TLS 1.3 is faster and simpler, so the usual best practice is to enable both 1.2 and 1.3 and disable everything older.
Does PCI DSS require me to disable TLS 1.0 and 1.1?
PCI DSS requires TLS 1.0 to be disabled and treats TLS 1.1 as a weak protocol to move away from. If you take card payments you should accept only TLS 1.2 and 1.3. PCI compliance itself is assessed by a qualified assessor, not by any free scan.
How do I check which TLS versions my site accepts?
From a terminal, openssl s_client -connect yourdomain.com:443 -tls1_1 should fail once old TLS is off, while -tls1_2 should succeed. You can also run our free EB Security scan, which reports externally whether TLS 1.0 or 1.1 is still accepted.
I disabled old TLS on Cloudflare but the scan still flags it. Why?
You may have raised the minimum on the CDN edge but not on the origin server. If a scan can still reach the origin directly, or the CDN setting did not apply to that hostname, old TLS can still appear. Set the minimum on both the CDN and the origin web server.
Does the EB Security scan fix the TLS settings for me?
No. The scan is a passive external check: it reads what your site serves publicly and tells you whether TLS 1.0 or 1.1 is still accepted. You make the change yourself on the server or CDN, then rerun the scan to confirm the old versions are now refused.

How safe is your website?

A free A to E grade in about 10 seconds. No account needed.

Check my site