[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] GnuTLS in win32

From: Jason Lewis
Subject: Re: [h-e-w] GnuTLS in win32
Date: Fri, 20 Jul 2012 11:32:01 +1000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv: Gecko/20090812 Lightning/0.9 Thunderbird/ Mnenhy/

Jason Lewis wrote:

> However now I get this error:
> Opening connection to
> gnutls.c: [1] (Emacs) allocating credentials
> gnutls.c: [2] (Emacs) allocating x509 credentials
> gnutls.c: [2] (Emacs) using default verification flags
> gnutls.c: [1] (Emacs) setting the trustfile:  /usr/ssl/certs/ca-bundle.crt
> gnutls.c: [2] ASSERT: gnutls_x509.c:1575
> gnutls.el: (err=[-64] Error while reading file.) boot: (:priority NORMAL
> :hostname :loglevel 10 :min-prime-bits 256 :trustfiles
> (/usr/ssl/certs/ca-bundle.crt) :crlfiles nil :keylist nil :verify-flags
> nil :verify-error nil :verify-hostname-error nil :callbacks nil)
> gnutls.c: [2] (Emacs) Deallocating x509 credentials
> Unable to open server nnimap+ due to: Process *nnimap* not running
> nnimap ( open error: ''.  Continue? (y or n)  y
> I presume gnutls needs to have some certificate files somewhere?
> gnutls-trustfiles is ("/etc/ssl/certs/ca-certificates.crt"
> "/etc/pki/tls/certs/ca-bundle.crt" "/etc/ssl/ca-bundle.pem"
> "/usr/ssl/certs/ca-bundle.crt")

To answer my own question in case it helps someone in future

Cygwin has cert files, but for some reason the gnutls-trustfiles paths
do not correctly map to the windows path. I'm guessing that in emacs the
paths would work ok because I use cygmount but when the paths get handed
to gnutls, they don't get translated?

anyway, the solution was to set gnuttls-trustfiles to


reply via email to

[Prev in Thread] Current Thread [Next in Thread]