cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

No return for SSL enabled libcurl C program

From: <charlie_at_kotan.com>
Date: Thu, 14 Apr 2005 18:48:37 -0500 (CDT)

I don't get the https: page with libcurl, although I DO get it with CURL.
I dl the latest CA bundle. I get expected page with http:// from curl and
libcurl. I have installed an SSL enabled curl and libcurl under WinXP.

I built the simple ssl test program with SKIP_PEER_VERIFICATION enabled,
and the following lines:

curl_easy_setopt(curl, CURLOPT_URL, "https://sourceforge.net/");
curl_easy_setopt(curl, CURLOPT_VERBOSE);
printf("cURL version %s\n", curl_version());
curl_easy_setopt(curl, CURLOPT_CAINFO,
"c:\\curl\\curltest\\curl-ca-bundle.crt");

(last line wrapped by email prog)

output is:

* About to connect() to sourceforge.net port 443
* Trying 66.35.250.203... * connected
* Connected to sourceforge.net (66.35.250.203) port 443
* successfully set certificate verify locations:
* CAfile: c:\curl\curltest\curl-ca-bundle.crt
  CApath: none
* Closing connection #0
cURL version libcurl/7.12.1 OpenSSL/0.9.7e zlib/1.2.2

I've tried many combinations - what am I missing?

Thanks, Charlie
Received on 2005-04-15

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET