bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#9017: 24.0.50; gnutls.c: [0] (Emacs) fatal error: Key usage violatio


From: Lars Magne Ingebrigtsen
Subject: bug#9017: 24.0.50; gnutls.c: [0] (Emacs) fatal error: Key usage violation in certificate has been detected.
Date: Mon, 11 Jul 2011 16:12:20 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

"Roland Winkler" <winkler@gnu.org> writes:

> I recompiled emacs from the trunk today. Unfortunately, emacs simply
> hangs now. So I set debug-on-quit to t, which gave me the first
> backtrace attached below.

> Debugger entered--Lisp error: (quit)
>   make-network-process(:name "smtpmail" :buffer #<buffer *trace of SMTP 
> session to foo.bar.com*> :host "foo.bar.com" :service 465)

Hm.  It's hanging in the connect call itself to the SMTP server?  That's
rather odd.

If you eval the following

(make-network-process :name "smtpmail" :buffer (get-buffer-create "foo") :host 
"foo.bar.com" :service 465)

does it hang?

> Then I also tried your other suggestion
>
>   (setq smtpmail-stream-type 'plain)
>
> which resulted in the error
>
>   Sending failed: 530 Must issue a STARTTLS command first
>
> see the second backtrace.

Yes, your SMTP server apparently requires STARTTLS, but the built-in
GnuTLS support isn't able to negotiate a connection -- I'm guessing
because of a buggy SMTP server certificate.  But that doesn't explain
the apparent hanging in `make-network-process' itself, which is just
bizarre.

Try evaluating this:

(defun gnutls-available-p () nil)

If you have gnutls-cli installed (and you apparently have since it works
in Emacs 23), that should disable the built-in GnuTLS library.  Are you
able to send mail then?
-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





reply via email to

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