c: Copyright (C) Daniel Stenberg, daniel@haxx.se, et al. SPDX-License-Identifier: curl Long: key-type Arg: 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.