cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: ssl problems

From: Arvind Sachdeva <asachdeva_at_gmail.com>
Date: Tue, 8 Mar 2005 21:12:24 +0530

Yes, the compilation went ok, but it seems I need to specify
CURLOPT_CAPATH to prefixed_folder/share/curl ar runtime (absolute path
of prefix_folder can change due to automount) .

SSL works fine when I set CURLOPT_SSL_VERIFYHOST and
CURLOPT_SSL_VERIFYPEER to 0.

On Tue, 8 Mar 2005 00:00:04 +0100 (CET), Daniel Stenberg
<daniel-curl_at_haxx.se> wrote:
> On Mon, 7 Mar 2005, Arvind Sachdeva wrote:
>
> > I am facing a peculiar problem, On a Redhat 9.0 application when I compile
> > open ssl 0.9.7e with a prefix_folder and then I compile libcurl (7.11.1)
> > telling it to pick ssl from the prefix_folder. I use this libcurl in my app
> > with LD_LIBRARY_PATH ino the prefix_folder then my app is not able to
> > connect to secure sites. Ethereal shows that it sends a sslv2 client hello,
> > which have no response.
>
> That sounds like an SSL-related problem all right. So what does
> curl_easy_init() return? Or even what does 'curl' say?
>
> > Can anybody hint on what is going wrong while compiling ssl and curl. I
> > specify --with-ssl explicitly on configure line.
>
> What makes you think anything went wrong in the compile?
>
> > I am creating shared version of libssl.so.
>
> 'ldd [yourapp]' should show your app using (libcurl is used shared and) the
> 0.9.7e version of the OpenSSL libs.
>
> --
> Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
> Dedicated custom curl help for hire: http://haxx.se/curl.html
>
Received on 2005-03-08