# Protocol versions: Which clients still need TLS 1.2?

- Rating: Do it now (Check today. Visitors or their data may already be affected.)
- Action: Enable TLS 1.3, turn off TLS 1.0 and 1.1, and check your logs before retiring TLS 1.2.
- Added: 2026-12-03
- Updated: 2026-12-03
- Web page: https://tldrtls.com/protocol-versions/

## Choosing a minimum version

A browser and a server need a TLS version in common before the browser can load a page. Raising the minimum can cut off older clients. Your access logs can help you decide when to make the change.

- **TLS 1.0 and 1.1:** off. They were formally deprecated in 2021 (RFC 8996).
- **TLS 1.3:** on, and preferred.
- **TLS 1.2:** keep it only if you can name a client that needs it. The IETF has frozen it (RFC 9851), which means it gets security fixes but no new features. It will never get post-quantum key exchange.

If you keep TLS 1.2, restrict [which cipher suites clients can use](https://tldrtls.com/cipher-suites.md).

## How to check

This should fail:

```sh
openssl s_client -connect example.com:443 -tls1_1 </dev/null
```

Recent OpenSSL builds can't speak TLS 1.1 at all, and say `no protocols available`. That tells you about your laptop, not the server. A scanner such as [SSL Labs](https://tldrtls.com/checking-tools.md) tests from outside and doesn't have this problem.

If you see that, use weeb ([get weeb](https://tldrtls.com/checking-tools.md)). `weeb probe` tries each version and tells you which ones the server accepts:

```sh
weeb probe example.com --fix
```

To learn who still needs TLS 1.2, log the negotiated version for a couple of weeks. In nginx that's the `$ssl_protocol` variable.

## How to fix it

TLS 1.3 only:

```nginx
ssl_protocols TLSv1.3;
```

```apache
SSLProtocol -all +TLSv1.3
```

```haproxy
ssl-default-bind-options ssl-min-ver TLSv1.3
```

If you still need TLS 1.2, use `ssl_protocols TLSv1.2 TLSv1.3;` in nginx, `SSLProtocol -all +TLSv1.2 +TLSv1.3` in Apache, or `ssl-min-ver TLSv1.2` in HAProxy.

## Sources

1. [RFC 8996: Deprecating TLS 1.0 and TLS 1.1](https://www.rfc-editor.org/rfc/rfc8996.html) (fetched 2026-12-03)
2. [RFC 9851: TLS 1.2 is in Feature Freeze](https://www.rfc-editor.org/info/rfc9851/) (fetched 2026-12-03)
3. [RFC 9325: Recommendations for Secure Use of TLS and DTLS](https://www.rfc-editor.org/rfc/rfc9325.html) (fetched 2026-12-03)
4. [weeb: terminal HTTP client with a site probe](https://github.com/klobucar/weeb) (fetched 2026-12-03)

## Changelog

- 2026-12-03: Explained how client support affects the minimum version.
- 2026-12-03: First version.
