Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

CURL.SetOptionCAPATH

Component: CURL
Version: 2.5
Mac OS X: Works
Windows: Works

MBS( "CURL.SetOptionCAPath"; handle; value )

Parameters

Parameter Description Example value
Handle The CURL session handle. $curl
Value The path to certificates directory. "/data/MyCertificates"

Result

Returns "OK" on success.

Description

Sets the certificate directory.
Pass a string naming a directory holding multiple CA certificates to verify the peer with. The certificate directory must be prepared using the openssl c_rehash utility. This makes sense only when used in combination with the CURL.SetOptionVerifyPeer option. If CURL.SetOptionVerifyPeer is zero, CURL.SetOptionCAPATH need not even indicate an accessible path. The CURL.SetOptionCAPath function apparently does not work in Windows due to some limitation in openssl. This option is OpenSSL-specific and does nothing if libcurl is built to use GnuTLS.

Feedback: Report problem or ask question.




Links
MBS Realbasic Chart Plugins - Besuchen Sie die JUZ Nickenich Webseite