aboutsummaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/key-type.md
blob: 4128bfeafcd308e0800ece416c46c679816a240e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
---
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: key-type
Arg: <type>
Help: Private key file type (DER/PEM/ENG)
Protocols: TLS
Category: tls
Added: 7.9.3
Multi: single
See-also:
  - key
Example:
  - --key-type DER --key here $URL
---

# `--key-type`

Private key file type. Specify which type your --key provided private key
is. DER, PEM, and ENG are supported. If not specified, PEM is assumed.