curl-library
Re: About CURLOPT_CAINFO
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 17 Mar 2012 22:30:40 +0100 (CET)
Date: Sat, 17 Mar 2012 22:30:40 +0100 (CET)
On Thu, 15 Mar 2012, Woods wrote:
> When I set CURLOPT_CAINFO to a file, curl performs a https request and gives
> me error: CURLE_SSL_CACERT_BADFILE. I am sure, the file is accessible since
> it is given as absolute path. Strange that if I use the same file as the
> "--cacert" option of curl command line, it works.
Perhaps you can use the --libcurl option and then compare more exactly how the
options differ to track down why this happens...
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2012-03-17