cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: regarding https and libcurl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 6 Oct 2006 23:32:07 +0200 (CEST)

On Fri, 6 Oct 2006, kuriakose wrote:

> I set up a https webserver with a keystore generated using keytool . When i
> tried to get a web page through libcurl it is returning error code 60. if
> CURLOPT_VERIFY_SSLPEER option is set false I am able to get the page . But
> when I set it to TRUE and gave CURLOPT_CAINFO as the cacert.pem which I used
> for generating the keystore. But still it is giving error code 60.

It means that either that cert can't be verified by your CA cert or that the
host name in the server's cert doesn't match the host name you access with
libcurl.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-10-06