curl/docs/cmdline-opts/proxy-capath.md
Daniel Stenberg fe9f68fa61
cmdline-opts: shorter help texts
In an effort to increase the readability of the "--help all" output on
narrow (80 column) terminals.

Co-authored-by: Jay Satiro

Closes #13169
2024-03-25 13:05:24 +01:00

965 B

c SPDX-License-Identifier Long Help Arg Added Category Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl proxy-capath CA directory to verify proxy against <dir> 7.52.0 proxy tls single
proxy-cacert
proxy
capath
--proxy-capath /local/directory -x https://proxy $URL

--proxy-capath

Same as --capath but used in HTTPS proxy context.

Use the specified certificate directory to verify the proxy. Multiple paths can be provided by separated with colon (:) (e.g. path1:path2:path3). The certificates must be in PEM format, and if curl is built against OpenSSL, the directory must have been processed using the c_rehash utility supplied with OpenSSL. Using --proxy-capath can allow OpenSSL-powered curl to make SSL-connections much more efficiently than using --proxy-cacert if the --proxy-cacert file contains many CA certificates.

If this option is set, the default capath value is ignored.