cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem related to porting Curl on VDK

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 25 Mar 2008 08:58:59 +0100 (CET)

On Tue, 25 Mar 2008, Ajeet kumar.S wrote:

> Now it is working for http and for https "CURL_SSL_CACERT_BADFILE" is
> coming. I am trying to debug it. What is reason for
> "CURL_SSL_CACERT_BADFILE". And how we can remove this problem?

#1

$ grep CURLE_SSL_CACERT_BADFILE -n lib/*.c

#2

Spot that this is only used on a single line when built with OpenSSL:

ssluse.c:1415: return CURLE_SSL_CACERT_BADFILE;

#3

Load the lib/ssluse.c source code and check the condition just before line
1415 that lead to this.

#4

Make sure you have read this: http://curl.haxx.se/docs/sslcerts.html

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