cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: guide me for ssl error from CURL 7.18.1 on AIX 5.3

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 24 Apr 2008 20:28:52 +0200 (CEST)

On Thu, 24 Apr 2008, Anil Kumar wrote:

> Now i am trying to make HTTPS connection through libcurl (embeded in my
> project code). But i am not able to do so. To achieve the insecure
> connection i have set following in my code.

> curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, -1);

You may want CURLOPT_SSL_VERIFYHOST as well.

> I am getting the following error with error code 35
> (CURLE_SSL_CONNECT_ERROR)

And this is the same URL that curl can get when used from the command line?

If so, then I advice you using --libcurl to figure out exactly what options
curl used to achive that.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-04-24