cURL / Mailing Lists / curl-users / Single Mail

curl-users

cacert and -k option

From: Gisle Vanem <gvanem_at_broadpark.no>
Date: Sat, 25 Oct 2003 23:34:34 +0200

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.
Shouldn't one of them cancel each other? If so, shouldn't
'-k' override the settings in curl.rc?

BTW. Does curl.rc support several '--cacert' lines?

--gv

-------------------------------------------------------
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-25