cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: log in with authentication problem

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 17 Apr 2007 21:45:12 +0200 (CEST)

On Tue, 17 Apr 2007, Guirong Wang wrote:

> More details here: http://curl.haxx.se/docs/sslcerts.html
> curl performs SSL certificate verification by default, using a "bundle"
> of Certificate Authority (CA) public keys (CA certs). The default
> bundle is named curl-ca-bundle.crt; you can specify an alternate file
> using the --cacert option.
> If this HTTPS server uses a certificate signed by a CA represented in
> the bundle, the certificate verification probably failed due to a
> problem with the certificate (it might be expired, or the name might
> not match the domain name in the URL).
> If you'd like to turn off curl's verification of the certificate, use
> the -k (or --insecure) option.

> I have to use -k option to get it work again. Is there any way to get it
> work again with only -d not -k option?

I suggest you read your entire mail again since the error message explains a
lot, and then follow the URL you pasted and read up. All these details have
been written and explained numerous times in the past already.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-04-17