cert-type.d 635 B

12345678910111213141516171819
  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. ---
  12. Tells curl what type the provided client certificate is using. PEM, DER, ENG
  13. and P12 are recognized types.
  14. The default type depends on the TLS backend and is usually PEM, however for
  15. Secure Transport and Schannel it is P12. If --cert is a pkcs11: URI then ENG is
  16. the default type.
  17. If this option is used several times, the last one will be used.