From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/87424 Path: news.gmane.org!.POSTED!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.gnus.general Subject: Re: Problems with CA certificates in emacs 25 Date: Fri, 10 Mar 2017 19:21:43 +0100 Organization: Probably a good idea Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1489170211 32515 195.159.176.226 (10 Mar 2017 18:23:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 10 Mar 2017 18:23:31 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (windows-nt) To: ding@gnus.org Original-X-From: ding-owner+m35645@lists.math.uh.edu Fri Mar 10 19:23:26 2017 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from mxfilter-048034.atla03.us.yomura.com ([107.189.48.34]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cmPC9-0006hp-Ea for ding-account@gmane.org; Fri, 10 Mar 2017 19:23:18 +0100 X-Yomura-MXScrub: 1.0 Original-Received: from lists1.math.uh.edu (unknown [129.7.128.208]) by mxfilter-048034.atla03.us.yomura.com (Halon) with ESMTPS id 9f85ecfa-05be-11e7-b719-b499baa2b07a; Fri, 10 Mar 2017 18:23:14 +0000 (UTC) Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.87) (envelope-from ) id 1cmPB4-0000AF-OI; Fri, 10 Mar 2017 12:22:10 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from ) id 1cmPB3-00009j-8y for ding@lists.math.uh.edu; Fri, 10 Mar 2017 12:22:09 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.87) (envelope-from ) id 1cmPB0-0005SJ-Nv for ding@lists.math.uh.edu; Fri, 10 Mar 2017 12:22:09 -0600 Original-Received: from [195.159.176.226] (helo=blaine.gmane.org) by quimby.gnus.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1cmPAz-0006e5-A4 for ding@gnus.org; Fri, 10 Mar 2017 19:22:05 +0100 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1cmPAo-0007us-OQ for ding@gnus.org; Fri, 10 Mar 2017 19:21:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 51 Original-X-Complaints-To: usenet@blaine.gmane.org Mail-Copies-To: never Cancel-Lock: sha1:Gv8trHYUhkx5iyjS4Ir8aiGcbTY= List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:87424 Archived-At: >>>>> Steinar Bang : > Platform: Windows 7, > GNU Emacs 25.1.1 (x86_64-w64-mingw32) of 2016-11-15 > I tried firing up emacs 25 for the first time today. > I ran into problems connecting to my imap server. It sort of just gave > up during the opening phase and set that server to offline. > Here's the nnimap server config: > '((nnimap "privat" > (nnimap-address "imap.mydomain.no") > (nnimap-authenticator cram-md5) > (nnimap-server-port 993) > (nnimap-stream ssl)) > Here are the contents of the " *nnimap imap.bang.priv.no 993 *nntpd**" buffer: > * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=CRAM-MD5] Dovecot ready. > * BYE Disconnected for inactivity. > closed > done > depth=0 CN = imap.bang.priv.no > verify error:num=20:unable to get local issuer certificate > verify return:1 > depth=0 CN = imap.bang.priv.no > verify error:num=21:unable to verify the first certificate > verify return:1 > Process *nnimap* finished > I have signed the certificate of my IMAP server using cacert.org. > Do I need to put the cacert.org CA file in some file somewhere? > If so, which one? What I needed to do was to download the dependencies as outlined here: http://emacs.stackexchange.com/a/27251 Ie. what I did, was: - Download emacs-25.0.93-i686-w64-mingw32.zip from http://alpha.gnu.org/gnu/emacs/pretest/windows/ - Unzip the file into the same directory I had unpacked emacs 25 (in my case, unpacked to C:\ProgramFiles\emacs-25.1-2-x86_64-w64-mingw32 ) - I started a new emacs 25 and did 'M-x gnus RET' - This time gnus started, I was confronted with a prompt that asked me if I would accept connection to a server could not be verified - I tried to accept this certificate Always, but I don't know if it "took" At least now I'm up and running.