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 17:40:25 GMT Message-ID: References: Reply-To: gyliamos@gmail.com NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1427478324 15813 80.91.229.3 (27 Mar 2015 17:45:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Mar 2015 17:45:24 +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 18:45:21 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 1YbYJq-0005qR-9T for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Mar 2015 18:45:18 +0100 Original-Received: from localhost ([::1]:51192 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbYJp-0000Tw-BA for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Mar 2015 13:45:17 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 27 Original-X-Trace: individual.net dsiQtUnqQ2V4NSH5a34JGAB1+rqqsmAc1ocSCvzcNV7E11Ubj+ Cancel-Lock: sha1:rMRmaDxOoJ61IbeV7NjkuZOA6/0= User-Agent: slrn/1.0.2 (FreeBSD) Original-Xref: usenet.stanford.edu gnu.emacs.help:211118 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:103400 Archived-At: 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. 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. 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. -- Will