On Wed, 19 Jan 2011, [email protected] wrote:

Please don't top-post!

        curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0L);

As I was kind of implying, and as I perhaps better spell out, setting only CURLOPT_SSL_VERIFYPEER usually is not enough. That option verifies the cert's authenticity using the trust chain. There's also the CURLOPT_SSL_VERIFYHOST option.

If you run "curl --libcurl example.c -k https://example.com"; you'll see in the generated example code what curl does.

--

 / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to