• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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/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
21Tells curl what type the provided client certificate is using. PEM, DER, ENG
22and P12 are recognized 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 is
26the default type.
27