1--- 2c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. 3SPDX-License-Identifier: curl 4Long: capath 5Arg: <dir> 6Help: CA directory to verify peer against 7Protocols: TLS 8Category: tls 9Added: 7.9.8 10Multi: single 11See-also: 12 - cacert 13 - insecure 14Example: 15 - --capath /local/directory $URL 16--- 17 18# `--capath` 19 20Tells curl to use the specified certificate directory to verify the 21peer. Multiple paths can be provided by separating them with ":" (e.g. 22"path1:path2:path3"). The certificates must be in PEM format, and if curl is 23built against OpenSSL, the directory must have been processed using the 24c_rehash utility supplied with OpenSSL. Using --capath can allow 25OpenSSL-powered curl to make SSL-connections much more efficiently than using 26--cacert if the --cacert file contains many CA certificates. 27 28If this option is set, the default capath value is ignored. 29