summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/proxy-cacert.md
blob: 682349a7e26011c9a623c0bf3b6cd804c43b6099 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
---
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: proxy-cacert
Help: CA certificates to verify proxy against
Arg: <file>
Added: 7.52.0
Category: proxy tls
Multi: single
See-also:
  - proxy-capath
  - cacert
  - capath
  - dump-ca-embed
  - proxy
Example:
  - --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.