From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/14074 Path: news.gmane.org!not-for-mail From: timo.myyra@gmail.com (Timo =?utf-8?Q?Myyr=C3=A4?=) Newsgroups: gmane.emacs.gnus.user Subject: Problems accessing IMAP with TLS Date: Thu, 02 Sep 2010 12:12:31 +0300 Message-ID: <87occgik5c.fsf@mandrake.lan> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1283437777 525 80.91.229.12 (2 Sep 2010 14:29:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 2 Sep 2010 14:29:37 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Sep 02 16:29:36 2010 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OrAnG-0007kg-HJ for gegu-info-gnus-english@m.gmane.org; Thu, 02 Sep 2010 16:29:34 +0200 Original-Received: from localhost ([127.0.0.1]:55550 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrAeu-0002EK-Uu for gegu-info-gnus-english@m.gmane.org; Thu, 02 Sep 2010 10:20:56 -0400 Original-Received: from [140.186.70.92] (port=60569 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OrAUa-0006EA-VP for info-gnus-english@gnu.org; Thu, 02 Sep 2010 10:10:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OrAUX-0007qG-KV for info-gnus-english@gnu.org; Thu, 02 Sep 2010 10:10:14 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:43481) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OrAUX-0007ow-As for info-gnus-english@gnu.org; Thu, 02 Sep 2010 10:10:13 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OrAUO-0001hr-SR for info-gnus-english@gnu.org; Thu, 02 Sep 2010 16:10:04 +0200 Original-Received: from hoasb-ff0cdd00-22.dhcp.inet.fi ([80.221.12.22]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Sep 2010 16:10:04 +0200 Original-Received: from timo.myyra by hoasb-ff0cdd00-22.dhcp.inet.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 02 Sep 2010 16:10:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 41 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: hoasb-ff0cdd00-22.dhcp.inet.fi User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:5SnX3ICpvvv2X7A6E8nVbvhcwN0= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:14074 Archived-At: Hi, I'm trying to access my schools Exchange 2010 IMAP server from Gnus but I can't get secure connection to it. I can access the IMAP server with plain IMAP and plaintext password just fine but obviously this isn't good option security-wise. The school instruction tells to use the IMAP service with port 143 and TLS enabled. I've tested the instructions with Thunderbird and I had to use STARTTLS instead of SSL/TSL for connection security for the connection to succeed. I have following settings but it won't work. (setq gnus-select-method '(nnimap "metropolia" (nnimap-address "195.148.166.20") (nnimap-server-port 143) (nnimap-stream starttls))) When trying above settings I get following to Messages buffer: imap: Connecting to 195.148.166.20... Opening STARTTLS connection to `195.148.166.20:143'...done imap: Connecting with STARTTLS... STARTTLS negotiation failed: *** Starting TLS handshake - Certificate type: X.509 - Got a certificate list of 1 certificates. - Certificate[0] info: - subject `C=FI,ST=Uusimaa,L=Helsinki,O=Metropolia AMK,OU=Tietohallinto,\ CN=mail.metropolia.fi', issuer `DC=root,DC=amk,DC=pk,CN=pk-PK\ DC01-CA', RSA key 2048 bits, signed using RSA-SHA,\ activated `2010-05-10 07:00:28 UTC', expires `2012-05-09 07:00:28 UTC',\ SHA-1 fingerprint `86003ab3a460ed46c57be01834ea2db13145952f' - The hostname in the certificate does NOT match '195.148.166.20' Process imap<1> exited abnormally with code 1 The schools instructions told to accept the certificate warning but I don't know how to do it with Gnus and that seems to be the problem here. Any idea how to get the connection to function properly?