all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Will Parsons <varro@nodomain.invalid>
To: help-gnu-emacs@gnu.org
Subject: Re: sending mail using tls using Emacs under Windows
Date: 27 Mar 2015 19:37:34 GMT	[thread overview]
Message-ID: <slrnmhbcbu.3bl.varro@anukis.local> (raw)
In-Reply-To: mailman.2897.1427482933.31049.help-gnu-emacs@gnu.org

Eli Zaretskii wrote:
>> From: Will Parsons <varro@nodomain.invalid>
>> Date: 27 Mar 2015 17:40:25 GMT
>> 
>> Eli Zaretskii wrote:
>> >> From: Will Parsons <varro@nodomain.invalid>
>> >> 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: #<process smtpmail>, -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


  parent reply	other threads:[~2015-03-27 19:37 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-23 21:55 sending mail using tls using Emacs under Windows Will Parsons
2015-03-24  3:38 ` Eli Zaretskii
     [not found] ` <mailman.2653.1427168330.31049.help-gnu-emacs@gnu.org>
2015-03-24 18:42   ` Will Parsons
2015-03-24 19:11     ` Eli Zaretskii
     [not found]     ` <mailman.2698.1427224337.31049.help-gnu-emacs@gnu.org>
2015-03-24 19:45       ` Will Parsons
2015-03-24 20:19         ` Eli Zaretskii
2015-03-25 17:43         ` Sivaram Neelakantan
     [not found]         ` <mailman.2755.1427305460.31049.help-gnu-emacs@gnu.org>
2015-03-25 21:12           ` Will Parsons
2015-03-26  3:36             ` Eli Zaretskii
     [not found]             ` <mailman.2789.1427341026.31049.help-gnu-emacs@gnu.org>
2015-03-26 20:57               ` Will Parsons
2015-03-27  6:55                 ` Sivaram Neelakantan
2015-03-27  7:20                 ` Eli Zaretskii
     [not found]                 ` <mailman.2851.1427439324.31049.help-gnu-emacs@gnu.org>
2015-03-27 17:30                   ` Will Parsons
     [not found]                 ` <mailman.2852.1427440848.31049.help-gnu-emacs@gnu.org>
2015-03-27 17:40                   ` Will Parsons
2015-03-27 19:02                     ` Eli Zaretskii
     [not found]                     ` <mailman.2897.1427482933.31049.help-gnu-emacs@gnu.org>
2015-03-27 19:37                       ` Will Parsons [this message]
2015-03-27 19:52                         ` Eli Zaretskii
2015-03-26  7:46 ` Q1999

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=slrnmhbcbu.3bl.varro@anukis.local \
    --to=varro@nodomain.invalid \
    --cc=gyliamos@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.