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