Eli Zaretskii wrote:

> Don't change PATH from inside Emacs, that way lies madness.  Always
> modify your PATH outside Emacs, before you start Emacs.  Otherwise,
> the complex ways in which PATH interacts with exec-path and with
> commands invoked from Emacs (including those invoked via the shell)
> will break in subtle ways.
> 


Thanks to all who answered, I adjusted my path and now emacs seems able
to use gnutls ok.

However now I get this error:

Opening connection to 10.0.2.15...
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 10.0.2.15 :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+10.0.2.15 due to: Process *nnimap* not running
nnimap (10.0.2.15) 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")

These paths are non existent for me in win32.

I have googled around to find out how to get these trust files but can't
seem to find anything.

Thanks,

Jason




Reply via email to