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