From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Will Parsons Newsgroups: gmane.emacs.help Subject: Re: sending mail using tls using Emacs under Windows Date: 27 Mar 2015 19:37:34 GMT Message-ID: References: Reply-To: gyliamos@gmail.com NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1427485274 4872 80.91.229.3 (27 Mar 2015 19:41:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Mar 2015 19:41:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 27 20:41:08 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Yba7o-0000yh-AW for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Mar 2015 20:41:00 +0100 Original-Received: from localhost ([::1]:51625 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yba7n-0008El-O3 for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Mar 2015 15:40:59 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 52 Original-X-Trace: individual.net uMS6xBQ/joB4lPHKyVB14QGDNvwwa8+q546jQCPF9+m9X6Mbdj Cancel-Lock: sha1:/OH+ViwDeij9pa9M+yYh9gy6PDI= User-Agent: slrn/1.0.2 (FreeBSD) Original-Xref: usenet.stanford.edu gnu.emacs.help:211122 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103404 Archived-At: Eli Zaretskii wrote: >> From: Will Parsons >> Date: 27 Mar 2015 17:40:25 GMT >> >> Eli Zaretskii wrote: >> >> From: Will Parsons >> >> Date: 26 Mar 2015 20:57:48 GMT >> >> >> >> Sending via mail... >> >> gnutls.el: (err=[-64] Error while reading file.) boot: (:priority >> >> NORMAL :hostname smtp.gmail.com :loglevel 0 :min-prime-bits 256 >> >> :trustfiles (/usr/ssl/certs/ca-bundle.crt) :crlfiles nil :keylist nil >> >> :verify-flags nil :verify-error nil :callbacks nil) >> >> gnutls-negotiate: GnuTLS error: #, -64 >> > >> > Do you have a certificate bundle in /usr/ssl/certs/ca-bundle.crt? >> >> Since this is a native Windows Emacs, no such path exists. > > Then you need to point GnuTLS to the correct file name on your system. > >> In a separate reply, Sivaram suggested the setting: >> >> (setq gnutls-trustfiles '("c:/cygwin/usr/ssl/certs/ca-bundle.trust.crt" >> "c:/cygwin/usr/ssl/certs/ca-bundle.crt")) >> >> This works (thank you Sivaram), but of course it works because it >> depends on having Cygwin installed. > > The bundle has nothing to do with Cygwin, you can install it > separately. Fair enough, but it's not exactly clear what I need to install, or from where. (If I've missed some documentation describing this, I apologize.) >> That's not a problem for me, since I have Cygwin installed anyway, >> but I think there must be part of the puzzle missing if one is using >> only native Emacs and gnutls. > > The development version of Emacs instructs GnuTLS to use the > certificates stored by Windows, so the separate bundle will no longer > be needed with that version. So this will be case for the coming 24.5? Great. (In any case, I'm happy for now with the current solution.) Thanks to you and Sivaram for helping me solve this problem. -- Will