xref: /curl/docs/cmdline-opts/proxy-capath.md (revision fe9f68fa)
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
14Example:
15  - --proxy-capath /local/directory -x https://proxy $URL
16---
17
18# `--proxy-capath`
19
20Same as --capath but used in HTTPS proxy context.
21
22Use the specified certificate directory to verify the proxy. Multiple paths
23can be provided by separated with colon (`:`) (e.g. `path1:path2:path3`). The
24certificates must be in PEM format, and if curl is built against OpenSSL, the
25directory must have been processed using the c_rehash utility supplied with
26OpenSSL. Using --proxy-capath can allow OpenSSL-powered curl to make
27SSL-connections much more efficiently than using --proxy-cacert if the
28--proxy-cacert file contains many CA certificates.
29
30If this option is set, the default capath value is ignored.
31