xref: /aosp_15_r20/external/curl/docs/cmdline-opts/proxy-insecure.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: proxy-insecure
5*6236dae4SAndroid Build Coastguard WorkerHelp: Skip HTTPS proxy cert verification
6*6236dae4SAndroid Build Coastguard WorkerAdded: 7.52.0
7*6236dae4SAndroid Build Coastguard WorkerCategory: proxy tls
8*6236dae4SAndroid Build Coastguard WorkerMulti: boolean
9*6236dae4SAndroid Build Coastguard WorkerSee-also:
10*6236dae4SAndroid Build Coastguard Worker  - proxy
11*6236dae4SAndroid Build Coastguard Worker  - insecure
12*6236dae4SAndroid Build Coastguard WorkerExample:
13*6236dae4SAndroid Build Coastguard Worker  - --proxy-insecure -x https://proxy $URL
14*6236dae4SAndroid Build Coastguard Worker---
15*6236dae4SAndroid Build Coastguard Worker
16*6236dae4SAndroid Build Coastguard Worker# `--proxy-insecure`
17*6236dae4SAndroid Build Coastguard Worker
18*6236dae4SAndroid Build Coastguard WorkerSame as --insecure but used in HTTPS proxy context.
19*6236dae4SAndroid Build Coastguard Worker
20*6236dae4SAndroid Build Coastguard WorkerEvery secure connection curl makes is verified to be secure before the
21*6236dae4SAndroid Build Coastguard Workertransfer takes place. This option makes curl skip the verification step with a
22*6236dae4SAndroid Build Coastguard Workerproxy and proceed without checking.
23*6236dae4SAndroid Build Coastguard Worker
24*6236dae4SAndroid Build Coastguard WorkerWhen this option is not used for a proxy using HTTPS, curl verifies the
25*6236dae4SAndroid Build Coastguard Workerproxy's TLS certificate before it continues: that the certificate contains the
26*6236dae4SAndroid Build Coastguard Workerright name which matches the hostname and that the certificate has been signed
27*6236dae4SAndroid Build Coastguard Workerby a CA certificate present in the cert store. See this online resource for
28*6236dae4SAndroid Build Coastguard Workerfurther details: **https://curl.se/docs/sslcerts.html**
29*6236dae4SAndroid Build Coastguard Worker
30*6236dae4SAndroid Build Coastguard Worker**WARNING**: using this option makes the transfer to the proxy insecure.
31