cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: SSL certificate problem

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 29 Mar 2007 09:10:10 +0200 (CEST)

On Wed, 28 Mar 2007, Ravi Dhanshetty wrote:

> I am trying to get login.htm file from my local server, when I use the
> following command I am getting the following error, Is anybody know what is
> the reason for this error.

Ok, that was the question and you also provided the answer:

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

So what exactly in this lengthy explanation (and even more details are on the
web page pointed out) is it that you don't understand?

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