cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: SSL on windows question!

From: Wei Weng <wweng_at_kencast.com>
Date: Wed, 24 May 2006 18:11:52 -0400

Wei Weng wrote:
> I have everything else working very well together now.
>
> Only this problem exists.
>
> I tried to do
>
> curl_easy_setopt(m_conn, CURLOPT_SSL_VERIFYPEER, 1);
> curl_easy_setopt(m_conn, CURLOPT_CAINFO, "D:\\Temp\\bundle.crt");
>
> But I always gets this error message:
>
> problem with the SSL CA cert (path? access rights?)
>
> (Translated from error code returned from curl_easy_perform)
>
> Yes, I do have file "D:\Temp\bundle.crt".
>
> What's wrong? Can anyone give me a hint?
>
> Thanks
>
>
> Wei
>
>
>
>

Oops, forgot to mention I am trying to download a file via https with
libcurl.

All other parameters are correct since if I wack the https part, it
works like a charm.

Thanks

Wei
Received on 2006-05-25