master-server/deps/curl/docs/cmdline-opts/tlsv1.2.md

24 lines
548 B
Markdown
Raw Permalink Normal View History

2024-05-15 15:20:32 -04:00
---
2023-12-11 20:30:44 -05:00
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: tlsv1.2
2024-05-15 15:20:32 -04:00
Help: TLSv1.2 or greater
2023-12-11 20:30:44 -05:00
Protocols: TLS
Added: 7.34.0
Category: tls
Multi: mutex
2024-05-15 15:20:32 -04:00
See-also:
- tlsv1.3
- tls-max
Example:
- --tlsv1.2 $URL
2023-12-11 20:30:44 -05:00
---
2024-05-15 15:20:32 -04:00
# `--tlsv1.2`
2023-12-11 20:30:44 -05:00
Forces curl to use TLS version 1.2 or later when connecting to a remote TLS server.
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
you want to set a maximum TLS version.