curl-w32/docs/cmdline-opts/cert-type.md

608 B

c SPDX-License-Identifier Long Protocols Arg Help Category Added Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl cert-type TLS <type> Certificate type (DER/PEM/ENG/P12) tls 7.9.3 single
cert
key
key-type
--cert-type PEM --cert file $URL

--cert-type

Tells curl what type the provided client certificate is using. PEM, DER, ENG and P12 are recognized types.

The default type depends on the TLS backend and is usually PEM, however for Secure Transport and Schannel it is P12. If --cert is a pkcs11: URI then ENG is the default type.