blob: 6a7375a703abb4cbb728ef372648c2a4fe2b7a23 [file] [log] [blame]
xf.li6c8fc1e2023-08-12 00:11:09 -07001c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
2SPDX-License-Identifier: curl
3Long: tls-max
4Arg: <VERSION>
5Tags: Versions
6Protocols: SSL
7Added: 7.54.0
8Requires: TLS
9See-also: tlsv1.0 tlsv1.1 tlsv1.2 tlsv1.3
10Help: Set maximum allowed TLS version
11Category: tls
12Example: --tls-max 1.2 $URL
13Example: --tls-max 1.3 --tlsv1.2 $URL
14Multi: single
15---
16VERSION defines maximum supported TLS version. The minimum acceptable version
17is set by tlsv1.0, tlsv1.1, tlsv1.2 or tlsv1.3.
18
19If the connection is done without TLS, this option has no effect. This
20includes QUIC-using (HTTP/3) transfers.
21
22.RS
23.IP "default"
24Use up to recommended TLS version.
25.IP "1.0"
26Use up to TLSv1.0.
27.IP "1.1"
28Use up to TLSv1.1.
29.IP "1.2"
30Use up to TLSv1.2.
31.IP "1.3"
32Use up to TLSv1.3.
33.RE