mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04:00
CURLOPT_CAPATH is OpenSSL-only
This commit is contained in:
parent
0e899d7728
commit
439b84c782
@ -1237,14 +1237,14 @@ even indicate an accessible file.
|
|||||||
Note that option is by default set to the system path where libcurl's cacert
|
Note that option is by default set to the system path where libcurl's cacert
|
||||||
bundle is assumed to be stored, as established at build time.
|
bundle is assumed to be stored, as established at build time.
|
||||||
.IP CURLOPT_CAPATH
|
.IP CURLOPT_CAPATH
|
||||||
Pass a char * to a zero terminated string naming a directory holding
|
Pass a char * to a zero terminated string naming a directory holding multiple
|
||||||
multiple CA certificates to verify the peer with. The certificate
|
CA certificates to verify the peer with. The certificate directory must be
|
||||||
directory must be prepared using the openssl c_rehash utility. This
|
prepared using the openssl c_rehash utility. This makes sense only when used
|
||||||
makes sense only when used in combination with the
|
in combination with the \fICURLOPT_SSL_VERIFYPEER\fP option. If
|
||||||
\fICURLOPT_SSL_VERIFYPEER\fP option. If \fICURLOPT_SSL_VERIFYPEER\fP
|
\fICURLOPT_SSL_VERIFYPEER\fP is zero, \fICURLOPT_CAPATH\fP need not even
|
||||||
is zero, \fICURLOPT_CAPATH\fP need not even indicate an accessible
|
indicate an accessible path. The \fICURLOPT_CAPATH\fP function apparently
|
||||||
path. The \fICURLOPT_CAPATH\fP function apparently does not work in
|
does not work in Windows due to some limitation in openssl. This option is
|
||||||
Windows due to some limitation in openssl. (Added in 7.9.8)
|
OpenSSL-specific and does nothing if libcurl is built to use GnuTLS.
|
||||||
.IP CURLOPT_RANDOM_FILE
|
.IP CURLOPT_RANDOM_FILE
|
||||||
Pass a char * to a zero terminated file name. The file will be used to read
|
Pass a char * to a zero terminated file name. The file will be used to read
|
||||||
from to seed the random engine for SSL. The more random the specified file is,
|
from to seed the random engine for SSL. The more random the specified file is,
|
||||||
|
Loading…
Reference in New Issue
Block a user