xref: /aosp_15_r20/external/curl/docs/cmdline-opts/tlsv1.0.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker---
2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl
4*6236dae4SAndroid Build Coastguard WorkerLong: tlsv1.0
5*6236dae4SAndroid Build Coastguard WorkerHelp: TLSv1.0 or greater
6*6236dae4SAndroid Build Coastguard WorkerProtocols: TLS
7*6236dae4SAndroid Build Coastguard WorkerAdded: 7.34.0
8*6236dae4SAndroid Build Coastguard WorkerCategory: tls
9*6236dae4SAndroid Build Coastguard WorkerMulti: mutex
10*6236dae4SAndroid Build Coastguard WorkerSee-also:
11*6236dae4SAndroid Build Coastguard Worker  - tlsv1.3
12*6236dae4SAndroid Build Coastguard WorkerExample:
13*6236dae4SAndroid Build Coastguard Worker  - --tlsv1.0 $URL
14*6236dae4SAndroid Build Coastguard Worker---
15*6236dae4SAndroid Build Coastguard Worker
16*6236dae4SAndroid Build Coastguard Worker# `--tlsv1.0`
17*6236dae4SAndroid Build Coastguard Worker
18*6236dae4SAndroid Build Coastguard WorkerForces curl to use TLS version 1.0 or later when connecting to a remote TLS server.
19*6236dae4SAndroid Build Coastguard Worker
20*6236dae4SAndroid Build Coastguard WorkerIn old versions of curl this option was documented to allow _only_ TLS 1.0.
21*6236dae4SAndroid Build Coastguard WorkerThat behavior was inconsistent depending on the TLS library. Use --tls-max if
22*6236dae4SAndroid Build Coastguard Workeryou want to set a maximum TLS version.
23