cURL / Mailing Lists / curl-library / Single Mail

curl-library

cer CA certificate format doesn't work exactly

From: sulei xu <flydream2046_at_gmail.com>
Date: Sat, 25 Aug 2012 08:38:57 +0800

Hello,

I'm using cURL in my mobile app and everything works perfectly except for
https CA certificate verification .

 using like this:
 curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYPEER, 0L);
 curl_easy_setopt(curl_handle,CURLOPT_CAINFO,caInfoPath.c_str());

my ca certificate format is pem ,the https works ok .
But when i using the cer or der format ,the https doesnt work perfectly .

I wanna ask if the CA certificate format only supports the pem ,the der or
cer is not supported .

if supported ,how can i do ?

Thanks

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-08-25