Subject: Re: bug#13406: 24.2.92; gnus fails imap connection with TLS

From: Ted Zlatanov <[email-masked]>
Date: Fri, 11 Jan 2013 09:09:54 -0500

On Thu, 10 Jan 2013 17:34:08 +0100 Rainer Orth <[email-masked]> wrote: 

RO> On Solaris 11.1/x86, I cannot connect to our imap server with TLS
RO> anymore: 

RO> .emacs has 

RO> (setq gnus-secondary-select-methods
RO>       '((nnimap "cebitec"
RO> 		(nnimap-address "<imap server elided>")
RO> 		(nnimap-stream ssl))))

RO> In *Messages*, I find

RO> Opening nnimap server on cebitec...
RO> Opening connection to <imap server elided> via tls...
RO> gnutls.c: [0] (Emacs) fatal error: Decryption has failed.
RO> gnutls.el: (err=[-24] Decryption has failed.) boot: (:priority NORMAL :hostname <imap server elided> :loglevel 0 :min-prime-bits 256 :trustfiles nil :crlfiles nil :keylist nil :verify-flags nil :verify-error nil :verify-hostname-error nil :callbacks nil)
RO> Unable to open server nnimap+cebitec due to: GnuTLS error: #<process *nnimap*>, -24
RO> Opening nnimap server on cebitec...done
RO> No new newsgroups
RO> Checking new news...
RO> Reading active file via nnnil...done
RO> Reading active file from cebitec via nnimap...done
RO> Reading active file via nndraft...done
RO> Checking new news...done
RO> Warning: Unable to open server nnimap+cebitec due to: GnuTLS error: #<process *nnimap*>, -24
RO> gnutls.c: [0] (Emacs) fatal error: The specified session has been invalidated for some reason. [2 times]

RO> libgnutls.so.26 from gnutls 2.8.6 is bundled with the OS.

Can you try from the command line, with `gnutls-cli'?

Thanks
Ted