2022-06-14 06:12:03 +08:00
|
|
|
c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
|
|
|
|
SPDX-License-Identifier: curl
|
2016-11-28 08:01:13 +08:00
|
|
|
Long: tlsv1.2
|
2018-09-14 20:48:01 +08:00
|
|
|
Help: Use TLSv1.2 or greater
|
2016-11-28 08:01:13 +08:00
|
|
|
Protocols: TLS
|
|
|
|
Added: 7.34.0
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: tls
|
2021-08-31 22:37:14 +08:00
|
|
|
Example: --tlsv1.2 $URL
|
2022-05-27 22:51:05 +08:00
|
|
|
See-also: tlsv1.3 tls-max
|
2016-11-28 08:01:13 +08:00
|
|
|
---
|
2018-06-29 05:24:21 +08:00
|
|
|
Forces curl to use TLS version 1.2 or later when connecting to a remote TLS server.
|
2019-07-17 00:27:35 +08:00
|
|
|
|
2021-12-09 19:03:35 +08:00
|
|
|
In old versions of curl this option was documented to allow _only_ TLS 1.2.
|
|
|
|
That behavior was inconsistent depending on the TLS library. Use --tls-max if
|
2019-07-17 00:27:35 +08:00
|
|
|
you want to set a maximum TLS version.
|