cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to use curl with nss supported?

From: Kamil Dudka <kdudka_at_redhat.com>
Date: Tue, 14 Dec 2010 09:19:47 +0100

On Tuesday 14 December 2010 04:15:34 xufeng zhang wrote:
> I got a cacert.pem file from http://curl.haxx.se/docs/caextract.html,
> still can't work:
> $ curl --cacert cacert.pem -v https://bugzilla.mozilla.org
> * About to connect() to bugzilla.mozilla.org port 443 (#0)
> * Trying 63.245.209.72... connected
> * Connected to bugzilla.mozilla.org (63.245.209.72) port 443 (#0)
> * Initializing NSS with certpath: /etc/pki/nssdb
> * CAfile: cacert.pem
> CApath: none
> * Remote Certificate has expired.
> * NSS error -8181

8181 is SEC_ERROR_EXPIRED_CERTIFICATE Peer's certificate has expired.

Are your system date and time zone set properly?

Kamil
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-12-14