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 01:18:43 +03:00
|
|
|
---
|
2023-01-02 15:51:48 +03:00
|
|
|
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
|
2022-06-14 01:12:03 +03:00
|
|
|
SPDX-License-Identifier: curl
|
2016-12-13 23:10:00 +03:00
|
|
|
Long: tls-max
|
|
|
|
Arg: <VERSION>
|
|
|
|
Tags: Versions
|
2023-07-25 11:31:42 +03:00
|
|
|
Protocols: TLS
|
2016-12-13 23:10:00 +03:00
|
|
|
Added: 7.54.0
|
|
|
|
Requires: TLS
|
2024-03-25 12:02:30 +03:00
|
|
|
Help: Maximum allowed TLS version
|
2020-07-13 15:15:04 +03:00
|
|
|
Category: tls
|
2022-10-18 11:39:43 +03: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 01:18:43 +03: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-13 23:10:00 +03: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 01:18:43 +03:00
|
|
|
|
|
|
|
# `--tls-max`
|
|
|
|
|
2018-12-12 13:48:56 +03: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-13 23:10:00 +03:00
|
|
|
|
2020-08-02 12:20:33 +03:00
|
|
|
If the connection is done without TLS, this option has no effect. This
|
|
|
|
includes QUIC-using (HTTP/3) transfers.
|
|
|
|
|
2024-01-09 12:36:14 +03:00
|
|
|
## default
|
2016-12-13 23:10:00 +03:00
|
|
|
Use up to recommended TLS version.
|
2024-01-09 12:36:14 +03:00
|
|
|
|
|
|
|
## 1.0
|
2016-12-13 23:10:00 +03:00
|
|
|
Use up to TLSv1.0.
|
2024-01-09 12:36:14 +03:00
|
|
|
|
|
|
|
## 1.1
|
2016-12-13 23:10:00 +03:00
|
|
|
Use up to TLSv1.1.
|
2024-01-09 12:36:14 +03:00
|
|
|
|
|
|
|
## 1.2
|
2016-12-13 23:10:00 +03:00
|
|
|
Use up to TLSv1.2.
|
2024-01-09 12:36:14 +03:00
|
|
|
|
|
|
|
## 1.3
|
2016-12-13 23:10:00 +03:00
|
|
|
Use up to TLSv1.3.
|