all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: html image rendering not working Win Emacs 24.4 (eww and gnus)
Date: Wed, 21 Jan 2015 18:07:54 +0200	[thread overview]
Message-ID: <838ugww205.fsf@gnu.org> (raw)
In-Reply-To: <8761c034u9.fsf@gmail.com>

> From: Sivaram Neelakantan <nsivaram.net@gmail.com>
> Date: Wed, 21 Jan 2015 14:09:26 +0530
> 
> > That doesn't really mean "don't seem to work".  It could be some real
> > problem (assuming your gnutls DLL is the latest one).  This works for
> > everyone else, including in Gnus.
> >
> 
> Right, got it working after reading up a bit.  Apparently, it was
> simple as setting the following
> 
> (setq gnutls-log-level 1) ;; just in case it borks for some sites
> (setq gnutls-trustfiles '("c:/cygwin/usr/ssl/certs/ca-bundle.trust.crt" "c:/cygwin/usr/ssl/certs/ca-bundle.crt"))
> 
> BTW, what is the recommended approach to 1) get the latest trustfiles
> 2) keep it updated?

The recommended approach is not to do that at all ;-) Your system
already has the certificates stored (ever asked yourself how come IE
can access those https URLs?), and gnutls already knows how to read
them using a Windows specific API.  The only problem is that Emacs
24.4 doesn't use that capability (the development sources of Emacs
already do).  So for now you will have to live with using an external
bundle, or install a snapshot of the Emacs development repository.

As to how to get and update the certificate bundle, I use the recipe
here:

  http://www.linuxfromscratch.org/blfs/view/svn/postlfs/cacerts.html

It includes a bunch of Unix shell scripts that need to be run to
massage the bundle, but since you evidently have Cygwin installed, it
shouldn't be a problem for you.  (People who have MSYS could use MSYS
Bash instead, which is what I did.)



  reply	other threads:[~2015-01-21 16:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-19  2:47 html image rendering not working Win Emacs 24.4 (eww and gnus) Sivaram Neelakantan
2015-01-19  3:40 ` Eli Zaretskii
2015-01-19 17:11   ` Sivaram Neelakantan
2015-01-19 18:21     ` Eli Zaretskii
2015-01-20 16:51       ` Sivaram Neelakantan
2015-01-20 17:42         ` Eli Zaretskii
2015-01-21  8:39           ` Sivaram Neelakantan
2015-01-21 16:07             ` Eli Zaretskii [this message]
2015-01-23 11:58               ` Sivaram Neelakantan
2015-01-23 12:15                 ` Eli Zaretskii

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=838ugww205.fsf@gnu.org \
    --to=eliz@gnu.org \
    --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.