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