| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curlpp mailing list Archives
[cURLpp] Using certificate from memory
From: Itay Dagan <itay_at_yoggie.com>
Date: Thu, 25 Dec 2008 19:01:41 +0200 (IST)
Hi guys
I have these lines of code: ** loading and verify certificate from file path in my system. **
int res;
curl_easy_setopt(curl,CURLOPT_CAINFO, "C://server_verify.crt");
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0);
curl_easy_setopt (curl, CURLOPT_SSL_VERIFYPEER, TRUE);
ret = curl_easy_perform(curl);
long sslresponseCode = 111;
if (sslresponseCode != CURLE_OK)
...
But I have a scenario which my certificate is not in the file but on memory
Can you help me with that ?
Thanks
Itay
_______________________________________________
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info