xref: /aosp_15_r20/external/curl/docs/cmdline-opts/proxy-cacert.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-cacert
5*6236dae4SAndroid Build Coastguard WorkerHelp: CA certificates to verify proxy against
6*6236dae4SAndroid Build Coastguard WorkerArg: <file>
7*6236dae4SAndroid Build Coastguard WorkerAdded: 7.52.0
8*6236dae4SAndroid Build Coastguard WorkerCategory: proxy tls
9*6236dae4SAndroid Build Coastguard WorkerMulti: single
10*6236dae4SAndroid Build Coastguard WorkerSee-also:
11*6236dae4SAndroid Build Coastguard Worker  - proxy-capath
12*6236dae4SAndroid Build Coastguard Worker  - cacert
13*6236dae4SAndroid Build Coastguard Worker  - capath
14*6236dae4SAndroid Build Coastguard Worker  - dump-ca-embed
15*6236dae4SAndroid Build Coastguard Worker  - proxy
16*6236dae4SAndroid Build Coastguard WorkerExample:
17*6236dae4SAndroid Build Coastguard Worker  - --proxy-cacert CA-file.txt -x https://proxy $URL
18*6236dae4SAndroid Build Coastguard Worker---
19*6236dae4SAndroid Build Coastguard Worker
20*6236dae4SAndroid Build Coastguard Worker# `--proxy-cacert`
21*6236dae4SAndroid Build Coastguard Worker
22*6236dae4SAndroid Build Coastguard WorkerUse the specified certificate file to verify the HTTPS proxy. The file may
23*6236dae4SAndroid Build Coastguard Workercontain multiple CA certificates. The certificate(s) must be in PEM format.
24*6236dae4SAndroid Build Coastguard Worker
25*6236dae4SAndroid Build Coastguard WorkerThis allows you to use a different trust for the proxy compared to the remote
26*6236dae4SAndroid Build Coastguard Workerserver connected to via the proxy.
27*6236dae4SAndroid Build Coastguard Worker
28*6236dae4SAndroid Build Coastguard WorkerEquivalent to --cacert but used in HTTPS proxy context.
29