capath.d 798 B

12345678910111213141516171819
  1. Long: capath
  2. Arg: <dir>
  3. Help: CA directory to verify peer against
  4. Protocols: TLS
  5. Category: tls
  6. See-also: cacert insecure
  7. Example: --capath /local/directory $URL
  8. Added: 7.9.8
  9. ---
  10. Tells curl to use the specified certificate directory to verify the
  11. peer. Multiple paths can be provided by separating them with ":" (e.g.
  12. \&"path1:path2:path3"). The certificates must be in PEM format, and if curl is
  13. built against OpenSSL, the directory must have been processed using the
  14. c_rehash utility supplied with OpenSSL. Using --capath can allow
  15. OpenSSL-powered curl to make SSL-connections much more efficiently than using
  16. --cacert if the --cacert file contains many CA certificates.
  17. If this option is set, the default capath value will be ignored, and if it is
  18. used several times, the last one will be used.