cert-type.d 583 B

123456789101112131415161718
  1. c: Copyright (C) 1998 - 2022, Daniel Stenberg, <daniel@haxx.se>, et al.
  2. SPDX-License-Identifier: curl
  3. Long: cert-type
  4. Protocols: TLS
  5. Arg: <type>
  6. Help: Certificate type (DER/PEM/ENG/P12)
  7. See-also: cert key key-type
  8. Category: tls
  9. Example: --cert-type PEM --cert file $URL
  10. Added: 7.9.3
  11. Multi: single
  12. ---
  13. Tells curl what type the provided client certificate is using. PEM, DER, ENG
  14. and P12 are recognized types.
  15. The default type depends on the TLS backend and is usually PEM, however for
  16. Secure Transport and Schannel it is P12. If --cert is a pkcs11: URI then ENG is
  17. the default type.