docs/cmdline: change to .md for cmdline docs
- switch all invidual files documenting command line options into .md,
as the documentation is now markdown-looking.
- made the parser treat 4-space indents as quotes
- switch to building the curl.1 manpage using the "mainpage.idx" file,
which lists the files to include to generate it, instead of using the
previous page-footer/headers. Also, those files are now also .md
ones, using the same format. I gave them underscore prefixes to make
them sort separately:
_NAME.md, _SYNOPSIS.md, _DESCRIPTION.md, _URL.md, _GLOBBING.md,
_VARIABLES.md, _OUTPUT.md, _PROTOCOLS.md, _PROGRESS.md, _VERSION.md,
_OPTIONS.md, _FILES.md, _ENVIRONMENT.md, _PROXYPREFIX.md,
_EXITCODES.md, _BUGS.md, _AUTHORS.md, _WWW.md, _SEEALSO.md
- updated test cases accordingly
Closes #12751
2024-01-21 06:18:43 +08:00
|
|
|
---
|
2023-01-02 20:51:48 +08:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2022-06-14 06:12:03 +08:00
|
|
|
SPDX-License-Identifier: curl
|
2016-12-14 04:10:00 +08:00
|
|
|
Long: tls-max
|
|
|
|
Arg: <VERSION>
|
|
|
|
Tags: Versions
|
2023-07-25 16:31:42 +08:00
|
|
|
Protocols: TLS
|
2016-12-14 04:10:00 +08:00
|
|
|
Added: 7.54.0
|
|
|
|
Requires: TLS
|
2024-03-25 17:02:30 +08:00
|
|
|
Help: Maximum allowed TLS version
|
2020-07-13 20:15:04 +08:00
|
|
|
Category: tls
|
2022-10-18 16:39:43 +08:00
|
|
|
Multi: single
|
docs/cmdline: change to .md for cmdline docs
- switch all invidual files documenting command line options into .md,
as the documentation is now markdown-looking.
- made the parser treat 4-space indents as quotes
- switch to building the curl.1 manpage using the "mainpage.idx" file,
which lists the files to include to generate it, instead of using the
previous page-footer/headers. Also, those files are now also .md
ones, using the same format. I gave them underscore prefixes to make
them sort separately:
_NAME.md, _SYNOPSIS.md, _DESCRIPTION.md, _URL.md, _GLOBBING.md,
_VARIABLES.md, _OUTPUT.md, _PROTOCOLS.md, _PROGRESS.md, _VERSION.md,
_OPTIONS.md, _FILES.md, _ENVIRONMENT.md, _PROXYPREFIX.md,
_EXITCODES.md, _BUGS.md, _AUTHORS.md, _WWW.md, _SEEALSO.md
- updated test cases accordingly
Closes #12751
2024-01-21 06:18:43 +08:00
|
|
|
See-also:
|
|
|
|
- tlsv1.0
|
|
|
|
- tlsv1.1
|
|
|
|
- tlsv1.2
|
|
|
|
- tlsv1.3
|
|
|
|
Example:
|
|
|
|
- --tls-max 1.2 $URL
|
|
|
|
- --tls-max 1.3 --tlsv1.2 $URL
|
2016-12-14 04:10:00 +08:00
|
|
|
---
|
docs/cmdline: change to .md for cmdline docs
- switch all invidual files documenting command line options into .md,
as the documentation is now markdown-looking.
- made the parser treat 4-space indents as quotes
- switch to building the curl.1 manpage using the "mainpage.idx" file,
which lists the files to include to generate it, instead of using the
previous page-footer/headers. Also, those files are now also .md
ones, using the same format. I gave them underscore prefixes to make
them sort separately:
_NAME.md, _SYNOPSIS.md, _DESCRIPTION.md, _URL.md, _GLOBBING.md,
_VARIABLES.md, _OUTPUT.md, _PROTOCOLS.md, _PROGRESS.md, _VERSION.md,
_OPTIONS.md, _FILES.md, _ENVIRONMENT.md, _PROXYPREFIX.md,
_EXITCODES.md, _BUGS.md, _AUTHORS.md, _WWW.md, _SEEALSO.md
- updated test cases accordingly
Closes #12751
2024-01-21 06:18:43 +08:00
|
|
|
|
|
|
|
# `--tls-max`
|
|
|
|
|
2018-12-12 18:48:56 +08:00
|
|
|
VERSION defines maximum supported TLS version. The minimum acceptable version
|
|
|
|
is set by tlsv1.0, tlsv1.1, tlsv1.2 or tlsv1.3.
|
2016-12-14 04:10:00 +08:00
|
|
|
|
2020-08-02 17:20:33 +08:00
|
|
|
If the connection is done without TLS, this option has no effect. This
|
|
|
|
includes QUIC-using (HTTP/3) transfers.
|
|
|
|
|
2024-01-09 17:36:14 +08:00
|
|
|
## default
|
2016-12-14 04:10:00 +08:00
|
|
|
Use up to recommended TLS version.
|
2024-01-09 17:36:14 +08:00
|
|
|
|
|
|
|
## 1.0
|
2016-12-14 04:10:00 +08:00
|
|
|
Use up to TLSv1.0.
|
2024-01-09 17:36:14 +08:00
|
|
|
|
|
|
|
## 1.1
|
2016-12-14 04:10:00 +08:00
|
|
|
Use up to TLSv1.1.
|
2024-01-09 17:36:14 +08:00
|
|
|
|
|
|
|
## 1.2
|
2016-12-14 04:10:00 +08:00
|
|
|
Use up to TLSv1.2.
|
2024-01-09 17:36:14 +08:00
|
|
|
|
|
|
|
## 1.3
|
2016-12-14 04:10:00 +08:00
|
|
|
Use up to TLSv1.3.
|