xref: /curl/docs/cmdline-opts/proxy-cert.md (revision 65651dc0)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: proxy-cert
5Arg: <cert[:passwd]>
6Help: Set client certificate for proxy
7Added: 7.52.0
8Category: proxy tls
9Multi: single
10See-also:
11  - proxy
12  - proxy-key
13  - proxy-cert-type
14Example:
15  - --proxy-cert file -x https://proxy $URL
16---
17
18# `--proxy-cert`
19
20Use the specified client certificate file when communicating with an HTTPS
21proxy. The certificate must be in PKCS#12 format if using Secure Transport, or
22PEM format if using any other engine. If the optional password is not
23specified, it is queried for on the terminal. Use --proxy-key to provide the
24private key.
25
26This option is the equivalent to --cert but used in HTTPS proxy context.
27