xref: /curl/docs/cmdline-opts/proxy-cacert.md (revision 8a3740bc)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: proxy-cacert
5Help: CA certificates to verify proxy against
6Arg: <file>
7Added: 7.52.0
8Category: proxy tls
9Multi: single
10See-also:
11  - proxy-capath
12  - cacert
13  - capath
14  - dump-ca-embed
15  - proxy
16Example:
17  - --proxy-cacert CA-file.txt -x https://proxy $URL
18---
19
20# `--proxy-cacert`
21
22Use the specified certificate file to verify the HTTPS proxy. The file may
23contain multiple CA certificates. The certificate(s) must be in PEM format.
24
25This allows you to use a different trust for the proxy compared to the remote
26server connected to via the proxy.
27
28Equivalent to --cacert but used in HTTPS proxy context.
29