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.SetOptionSSLCert

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

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

Parameters

Parameter Description Example value
Handle The CURL session handle. $curl
Value The file path to the certificate. "/tmp/test.pem"

Result

Returns "OK" on success.

Description

Sets the file path for the certificate.
Pass a text string as parameter. The string should be the file name of your certificate. The default format is "PEM" and can be changed with CURL.SetOptionSSLCertType.

With NSS this can also be the nickname of the certificate you wish to authenticate with. If you want to use a file from the current directory, please precede it with "./" prefix, in order to avoid confusion with a nickname.

Feedback: Report problem or ask question.




Links
MBS Realbasic tutorial videos - JUZ Nickenich