cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: receive: Peer certificate cannot be authenticated with known CA certificates

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 14 Jul 2010 17:58:37 +0200 (CEST)

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
Received on 2010-07-14