curl/docs/cmdline-opts/proxy-cert-type.md
2025-12-05 23:41:41 +01:00

740 B

c SPDX-License-Identifier Long Arg Added Help Category Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl proxy-cert-type <type> 7.52.0 Client certificate type for HTTPS proxy proxy tls single
proxy-cert
proxy-key
--proxy-cert-type PEM --proxy-cert file -x https://proxy.example $URL

--proxy-cert-type

Set type of the provided client certificate when using HTTPS proxy. PEM, DER, ENG, PROV and P12 are recognized types.

The default type depends on the TLS backend and is usually PEM. For Schannel it is P12. If --proxy-cert is a pkcs11: URI then ENG or PROV is the default type (depending on OpenSSL version).

Equivalent to --cert-type but used in HTTPS proxy context.