xref: /curl/docs/cmdline-opts/tlsv1.1.md (revision fe9f68fa)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: tlsv1.1
5Help: TLSv1.1 or greater
6Protocols: TLS
7Added: 7.34.0
8Category: tls
9Multi: mutex
10See-also:
11  - tlsv1.3
12  - tls-max
13Example:
14  - --tlsv1.1 $URL
15---
16
17# `--tlsv1.1`
18
19Forces curl to use TLS version 1.1 or later when connecting to a remote TLS server.
20
21In old versions of curl this option was documented to allow _only_ TLS 1.1.
22That behavior was inconsistent depending on the TLS library. Use --tls-max if
23you want to set a maximum TLS version.
24