cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: cacert and -k option

From: Georg Horn <horn_at_koblenz-net.de>
Date: Mon, 27 Oct 2003 11:05:08 +0100

Hi,

On Sat, Oct 25, 2003 at 11:34:34PM +0200, Gisle Vanem wrote:

> I have this in my curl.rc:
> --cacert = g:/MingW32/src/inet/curl-7.10.8/lib/ca-bundle.crt
>
> But using the -k option:
>
> > curl.exe --config g:\MingW32\src\inet\cURL-7.10.8\curl.rc -vk
> -otest.ssl https://www.fortify.net/cgi-bin/ssl_2
>
> Returns the usual warning:
> curl: (60) SSL certificate problem, verify that the CA cert is OK
> ...
>
> Seems the '-k' option isn't effective with '--cacert' in my curl.rc.

That looks exactly like the problem that i had, and where i made a patch
for. -k was ignored if -cacert was also given on the commandline. You can
find the patch in the list archives, subject "probs with client certificates",
and i think it will also be in the next release of curl.

Bye,
Georg

-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community? Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
Received on 2003-10-27