xref: /curl/docs/cmdline-opts/proxy-cert-type.md (revision 65651dc0)
1---
2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
3SPDX-License-Identifier: curl
4Long: proxy-cert-type
5Arg: <type>
6Added: 7.52.0
7Help: Client certificate type for HTTPS proxy
8Category: proxy tls
9Multi: single
10See-also:
11  - proxy-cert
12  - proxy-key
13Example:
14  - --proxy-cert-type PEM --proxy-cert file -x https://proxy $URL
15---
16
17# `--proxy-cert-type`
18
19Set type of the provided client certificate when using HTTPS proxy. PEM, DER,
20ENG and P12 are recognized types.
21
22The default type depends on the TLS backend and is usually PEM, however for
23Secure Transport and Schannel it is P12. If --proxy-cert is a pkcs11: URI then
24ENG is the default type.
25
26Equivalent to --cert-type but used in HTTPS proxy context.
27