draconisplusplus/subprojects/curl-8.10.1/docs/cmdline-opts/proxy-cacert.md

704 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-cacert CA certificates to verify proxy against <file> 7.52.0 proxy tls single
proxy-capath
cacert
capath
dump-ca-embed
proxy
--proxy-cacert CA-file.txt -x https://proxy $URL

--proxy-cacert

Use the specified certificate file to verify the HTTPS proxy. The file may contain multiple CA certificates. The certificate(s) must be in PEM format.

This allows you to use a different trust for the proxy compared to the remote server connected to via the proxy.

Equivalent to --cacert but used in HTTPS proxy context.