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