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
|
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
|
|
|
|
|
|
|
In old versions of curl this option was documented to allow _only_ TLS 1.2,
|
|
|
|
but behavior was inconsistent depending on the TLS library. Use --tls-max if
|
|
|
|
you want to set a maximum TLS version.
|