Commit aa50a008 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

point out that CAINFO points out a file name by default

parent 26f112ba
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1142,6 +1142,9 @@ certificates to verify the peer with. This makes sense only when used in
combination with the \fICURLOPT_SSL_VERIFYPEER\fP option.  If
\fICURLOPT_SSL_VERIFYPEER\fP is zero, \fICURLOPT_CAINFO\fP need not
even indicate an accessible file.

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.
.IP CURLOPT_CAPATH
Pass a char * to a zero terminated string naming a directory holding
multiple CA certificates to verify the peer with. The certificate