xref: /aosp_15_r20/external/curl/docs/cmdline-opts/proxy-cert.md (revision 6236dae45794135f37c4eb022389c904c8b0090d)
1*6236dae4SAndroid Build Coastguard Worker---
2*6236dae4SAndroid Build Coastguard Workerc: Copyright (C) Daniel Stenberg, <[email protected]>, et al.
3*6236dae4SAndroid Build Coastguard WorkerSPDX-License-Identifier: curl
4*6236dae4SAndroid Build Coastguard WorkerLong: proxy-cert
5*6236dae4SAndroid Build Coastguard WorkerArg: <cert[:passwd]>
6*6236dae4SAndroid Build Coastguard WorkerHelp: Set client certificate for proxy
7*6236dae4SAndroid Build Coastguard WorkerAdded: 7.52.0
8*6236dae4SAndroid Build Coastguard WorkerCategory: proxy tls
9*6236dae4SAndroid Build Coastguard WorkerMulti: single
10*6236dae4SAndroid Build Coastguard WorkerSee-also:
11*6236dae4SAndroid Build Coastguard Worker  - proxy
12*6236dae4SAndroid Build Coastguard Worker  - proxy-key
13*6236dae4SAndroid Build Coastguard Worker  - proxy-cert-type
14*6236dae4SAndroid Build Coastguard WorkerExample:
15*6236dae4SAndroid Build Coastguard Worker  - --proxy-cert file -x https://proxy $URL
16*6236dae4SAndroid Build Coastguard Worker---
17*6236dae4SAndroid Build Coastguard Worker
18*6236dae4SAndroid Build Coastguard Worker# `--proxy-cert`
19*6236dae4SAndroid Build Coastguard Worker
20*6236dae4SAndroid Build Coastguard WorkerUse the specified client certificate file when communicating with an HTTPS
21*6236dae4SAndroid Build Coastguard Workerproxy. The certificate must be in PKCS#12 format if using Secure Transport, or
22*6236dae4SAndroid Build Coastguard WorkerPEM format if using any other engine. If the optional password is not
23*6236dae4SAndroid Build Coastguard Workerspecified, it is queried for on the terminal. Use --proxy-key to provide the
24*6236dae4SAndroid Build Coastguard Workerprivate key.
25*6236dae4SAndroid Build Coastguard Worker
26*6236dae4SAndroid Build Coastguard WorkerThis option is the equivalent to --cert but used in HTTPS proxy context.
27