From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: html image rendering not working Win Emacs 24.4 (eww and gnus) Date: Wed, 21 Jan 2015 18:07:54 +0200 Message-ID: <838ugww205.fsf@gnu.org> References: <87sif7jxkr.fsf@gmail.com> <831tmrzbde.fsf@gnu.org> <87r3uq8zm6.fsf@gmail.com> <83fvb6y6lk.fsf@gnu.org> <87bnltmm3r.fsf@gmail.com> <83sif5wdqq.fsf@gnu.org> <8761c034u9.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1421856731 28573 80.91.229.3 (21 Jan 2015 16:12:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Jan 2015 16:12:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jan 21 17:12:07 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 1YDxsx-0003zx-8P for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Jan 2015 17:12:03 +0100 Original-Received: from localhost ([::1]:49008 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDxsw-0000g6-LW for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Jan 2015 11:12:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDxp5-0003Zn-Qc for help-gnu-emacs@gnu.org; Wed, 21 Jan 2015 11:08:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YDxp2-0007sY-D4 for help-gnu-emacs@gnu.org; Wed, 21 Jan 2015 11:08:03 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:56988) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YDxp2-0007pG-5i for help-gnu-emacs@gnu.org; Wed, 21 Jan 2015 11:08:00 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0NIJ00F00B3I8M00@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Wed, 21 Jan 2015 18:07:58 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NIJ00FR4BH97S30@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Wed, 21 Jan 2015 18:07:58 +0200 (IST) In-reply-to: <8761c034u9.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.169 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:102199 Archived-At: > From: Sivaram Neelakantan > 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.)