On Wed, 14 Jul 2010, Deckers, Rob wrote:

When I execute my getData function, I retrieve error code 60 (LibCurl error code: 60, Peer certificate cannot be authenticated with known CA certificates)

But when I add:
   curl_easy_setopt(curlHandle, CURLOPT_SSL_VERIFYPEER, 0L);
It all works fine.

What am I doing wrong?

Your tiny mistake was to not read this:

        http://curl.haxx.se/docs/sslcerts.html

--

 / 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