45 lines
778 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: tls-max
Arg: <VERSION>
Tags: Versions
Protocols: TLS
Added: 7.54.0
Requires: TLS
2024-05-15 15:20:32 -04:00
Help: Maximum allowed TLS version
2023-12-11 20:30:44 -05:00
Category: tls
Multi: single
2024-05-15 15:20:32 -04:00
See-also:
- tlsv1.0
- tlsv1.1
- tlsv1.2
- tlsv1.3
Example:
- --tls-max 1.2 $URL
- --tls-max 1.3 --tlsv1.2 $URL
2023-12-11 20:30:44 -05:00
---
2024-05-15 15:20:32 -04:00
# `--tls-max`
2023-12-11 20:30:44 -05:00
VERSION defines maximum supported TLS version. The minimum acceptable version
is set by tlsv1.0, tlsv1.1, tlsv1.2 or tlsv1.3.
If the connection is done without TLS, this option has no effect. This
includes QUIC-using (HTTP/3) transfers.
2024-05-15 15:20:32 -04:00
## default
2023-12-11 20:30:44 -05:00
Use up to recommended TLS version.
2024-05-15 15:20:32 -04:00
## 1.0
2023-12-11 20:30:44 -05:00
Use up to TLSv1.0.
2024-05-15 15:20:32 -04:00
## 1.1
2023-12-11 20:30:44 -05:00
Use up to TLSv1.1.
2024-05-15 15:20:32 -04:00
## 1.2
2023-12-11 20:30:44 -05:00
Use up to TLSv1.2.
2024-05-15 15:20:32 -04:00
## 1.3
2023-12-11 20:30:44 -05:00
Use up to TLSv1.3.