xref: /aosp_15_r20/external/curl/docs/cmdline-opts/proxy-capath.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-capath
5*6236dae4SAndroid Build Coastguard WorkerHelp: CA directory to verify proxy against
6*6236dae4SAndroid Build Coastguard WorkerArg: <dir>
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-cacert
12*6236dae4SAndroid Build Coastguard Worker  - proxy
13*6236dae4SAndroid Build Coastguard Worker  - capath
14*6236dae4SAndroid Build Coastguard Worker  - dump-ca-embed
15*6236dae4SAndroid Build Coastguard WorkerExample:
16*6236dae4SAndroid Build Coastguard Worker  - --proxy-capath /local/directory -x https://proxy $URL
17*6236dae4SAndroid Build Coastguard Worker---
18*6236dae4SAndroid Build Coastguard Worker
19*6236dae4SAndroid Build Coastguard Worker# `--proxy-capath`
20*6236dae4SAndroid Build Coastguard Worker
21*6236dae4SAndroid Build Coastguard WorkerSame as --capath but used in HTTPS proxy context.
22*6236dae4SAndroid Build Coastguard Worker
23*6236dae4SAndroid Build Coastguard WorkerUse the specified certificate directory to verify the proxy. Multiple paths
24*6236dae4SAndroid Build Coastguard Workercan be provided by separated with colon (`:`) (e.g. `path1:path2:path3`). The
25*6236dae4SAndroid Build Coastguard Workercertificates must be in PEM format, and if curl is built against OpenSSL, the
26*6236dae4SAndroid Build Coastguard Workerdirectory must have been processed using the c_rehash utility supplied with
27*6236dae4SAndroid Build Coastguard WorkerOpenSSL. Using --proxy-capath can allow OpenSSL-powered curl to make
28*6236dae4SAndroid Build Coastguard WorkerSSL-connections much more efficiently than using --proxy-cacert if the
29*6236dae4SAndroid Build Coastguard Worker--proxy-cacert file contains many CA certificates.
30*6236dae4SAndroid Build Coastguard Worker
31*6236dae4SAndroid Build Coastguard WorkerIf this option is set, the default capath value is ignored.
32