curl/docs/cmdline-opts/cert-type.md
Daniel Stenberg e7219c2bdc
cmdline-opts: language cleanups
Use imperative mood consistently for the first sentence describing an
option.

"Set this" instead "tell curl to set" or "this sets..."

Plus some extra cleanups and rephrasing.

Closes #13106
2024-03-12 15:42:33 +01:00

590 B

c SPDX-License-Identifier Long Protocols Arg Help Category Added Multi See-also Example
Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. curl cert-type TLS <type> Certificate type (DER/PEM/ENG/P12) tls 7.9.3 single
cert
key
key-type
--cert-type PEM --cert file $URL

--cert-type

Set type of the provided client certificate. PEM, DER, ENG and P12 are recognized types.

The default type depends on the TLS backend and is usually PEM, however for Secure Transport and Schannel it is P12. If --cert is a pkcs11: URI then ENG is the default type.