1--- 2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 3SPDX-License-Identifier: curl 4Long: cert-type 5Protocols: TLS 6Arg: <type> 7Help: Certificate type (DER/PEM/ENG/PROV/P12) 8Category: tls 9Added: 7.9.3 10Multi: single 11See-also: 12 - cert 13 - key 14 - key-type 15Example: 16 - --cert-type PEM --cert file $URL 17--- 18 19# `--cert-type` 20 21Set type of the provided client certificate. PEM, DER, ENG, PROV and P12 are 22recognized types. 23 24The default type depends on the TLS backend and is usually PEM, however for 25Secure Transport and Schannel it is P12. If --cert is a pkcs11: URI then ENG 26or PROV is the default type (depending on OpenSSL version). 27