curl/docs/cmdline-opts/proxy-cacert.md
Daniel Stenberg 65651dc02b
cmdline: expand proxy option explanations
- do less references to other options
- provide more specific text about proxies
- added more see-also references

Closes #13887
2024-06-05 10:35:56 +02:00

686 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
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.