cURL / Mailing Lists / curl-library / Single Mail


Re: CURL with SSL support

From: Daniel Stenberg <>
Date: Wed, 16 Jan 2002 15:10:33 +0100 (MET)

On Wed, 16 Jan 2002, Nataly Geimakher wrote:

> I am trying to use CURL with SSL support to send https requests to the
> server.

Which OS? Which compiler? Which curl version? Which OpenSSL version?

> I have a that client works fine with simple "http", so problem is really
> with SSL. I built CURL so it would staticlly link with libeay32.lib and
> ssleay32.lib,

Did that work? How did you build it?

> then I compiled my CURL client with new version of CURL static lib,

How did you upgrade the library?

> When I send the request("https://...") I get the error "libcurl was built
> with SSL disabled, https: not supported!"

Did that occur before too?

> Can you please tell what exactly do I need to do for CURL to be built with
> SSL support?

No, because that differs between different platforms and build systems.
That's also why docs/INSTALL is bigger than my reply here.

> I saw in some documentation that I need to include 6 SSL header files -
> include them where ? at what stage?

You don't do that, the libcurl headers do that if USE_SSLEAY is defined. You
just make sure that the include path is properly setup to point to the
OpenSSL include directory.

    Daniel Stenberg -- curl groks URLs --
Received on 2002-01-16