xref: /curl/docs/cmdline-opts/proxy-capath.md (revision 8a3740bc)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: proxy-capath
5Help: CA directory to verify proxy against
6Arg: <dir>
7Added: 7.52.0
8Category: proxy tls
9Multi: single
10See-also:
11  - proxy-cacert
12  - proxy
13  - capath
14  - dump-ca-embed
15Example:
16  - --proxy-capath /local/directory -x https://proxy $URL
17---
18
19# `--proxy-capath`
20
21Same as --capath but used in HTTPS proxy context.
22
23Use the specified certificate directory to verify the proxy. Multiple paths
24can be provided by separated with colon (`:`) (e.g. `path1:path2:path3`). The
25certificates must be in PEM format, and if curl is built against OpenSSL, the
26directory must have been processed using the c_rehash utility supplied with
27OpenSSL. Using --proxy-capath can allow OpenSSL-powered curl to make
28SSL-connections much more efficiently than using --proxy-cacert if the
29--proxy-cacert file contains many CA certificates.
30
31If this option is set, the default capath value is ignored.
32