cURL / Mailing Lists / curl-users / Single Mail

curl-users

GnuTls error

From: Gisle Vanem <giva_at_bgnett.no>
Date: Wed, 13 Apr 2005 11:33:53 +0200

If I try a GTLS (v1.2.1) enabled curl, it fails on most https links;

curl -vk https://www.fortify.net/cgi-bin/ssl_2
* Couldn't find host www.fortify.net in the _netrc file, using defaults
* About to connect() to www.fortify.net port 443
* Trying 198.65.143.195... * connected
* Connected to www.fortify.net (198.65.143.195) port 443
* error reading the ca cert file g:\MingW32\src\inet\curl\lib\ca-bundle.crt
* Closing connection #0
...

The retval from gnutls_certificate_set_x509_trust_file() is -67 or
GNUTLS_E_ASN1_ELEMENT_NOT_FOUND.

I have no idea why. The same ca-bundle.crt has worked fine for a long
time with OpenSSL version.

--gv
Received on 2005-04-13