tls-max.md (772B)
1 --- 2 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 3 SPDX-License-Identifier: curl 4 Long: tls-max 5 Arg: <VERSION> 6 Tags: Versions 7 Protocols: TLS 8 Added: 7.54.0 9 Requires: TLS 10 Help: Maximum allowed TLS version 11 Category: tls 12 Multi: single 13 See-also: 14 - tlsv1.0 15 - tlsv1.1 16 - tlsv1.2 17 - tlsv1.3 18 Example: 19 - --tls-max 1.2 $URL 20 - --tls-max 1.3 --tlsv1.2 $URL 21 --- 22 23 # `--tls-max` 24 25 Set the maximum allowed TLS version. The minimum acceptable version is set by 26 tlsv1.0, tlsv1.1, tlsv1.2 or tlsv1.3. 27 28 If the connection is done without TLS, this option has no effect. This 29 includes QUIC-using (HTTP/3) transfers. 30 31 ## default 32 Use up to the recommended TLS version. 33 34 ## 1.0 35 Use up to TLSv1.0. 36 37 ## 1.1 38 Use up to TLSv1.1. 39 40 ## 1.2 41 Use up to TLSv1.2. 42 43 ## 1.3 44 Use up to TLSv1.3.