Re: [certid] [TLS] [secdir] secdir

Martin Rex <mrex@sap.com> Wed, 22 September 2010 21:20 UTC

Return-Path: <mrex@sap.com>
X-Original-To: certid@core3.amsl.com
Delivered-To: certid@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 17EA728C10E for <certid@core3.amsl.com>; Wed, 22 Sep 2010 14:20:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.155
X-Spam-Level:
X-Spam-Status: No, score=-8.155 tagged_above=-999 required=5 tests=[AWL=-1.200, BAYES_00=-2.599, FB_WORD2_END_DOLLAR=3.294, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RYduGiskzQRN for <certid@core3.amsl.com>; Wed, 22 Sep 2010 14:20:07 -0700 (PDT)
Received: from smtpde01.sap-ag.de (smtpde01.sap-ag.de [155.56.68.170]) by core3.amsl.com (Postfix) with ESMTP id B8F7728C0EE for <certid@ietf.org>; Wed, 22 Sep 2010 14:20:06 -0700 (PDT)
Received: from mail.sap.corp by smtpde01.sap-ag.de (26) with ESMTP id o8MLKSAK022441 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <certid@ietf.org>; Wed, 22 Sep 2010 23:20:33 +0200 (MEST)
From: Martin Rex <mrex@sap.com>
Message-Id: <201009222120.o8MLKS7H005526@fs4113.wdf.sap.corp>
Orig-To: marsh@extendedsubset.com (Marsh Ray)
To: certid@ietf.org
Date: Wed, 22 Sep 2010 23:17:58 +0200 (MEST)
In-Reply-To: <4C9A5B13.1040802@extendedsubset.com> from "Marsh Ray" at Sep 22, 10 02:37:55 pm
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Sender: mrex@sap.com
X-Scanner: Virus Scanner virwal08
X-SAP: out
Cc: certid@ietf.org, tls@ietf.org
Subject: Re: [certid] [TLS] [secdir] secdir
X-BeenThere: certid@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mrex@sap.com
List-Id: Representation and verification of identity in certificates <certid.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/certid>, <mailto:certid-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/certid>
List-Post: <mailto:certid@ietf.org>
List-Help: <mailto:certid-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/certid>, <mailto:certid-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Sep 2010 21:20:09 -0000

Marsh Ray wrote:
> 
> On 09/22/2010 01:31 PM, ArkanoiD wrote:
> > BTW, slightly offtopic here: whenever i connect to gmail.com,
> > i get certificate for mail.google.com.
> > But i've yet to see any web browser to complain! Where is the magic?
> 
> Seems totally relevant to me.
> 
> Going to https://gmail.com/ I get some kind of redirection to 
> https://www.google.com/accounts/ServiceLogin...

When I check https://gmail.com/ with my own command line tool
(which doesn't send TLS extension SNI) I get back a cert with
only a  CN-ID for mail.google.com and no DNS-IDs along with
a certificat mismatch error from my tool.

When I trace a FF connect to https://gmail.com/ I see that FF
sends TLS extension SNI and the server returns a server certificate
with a CN-ID for gmail.com (again no DNS-IDs).


> 
> marsh@lamb:/tmp$ openssl s_client -connect gmail.com:443
> ...
> subject=/C=US/ST=California/L=Mountain View/O=Google Inc/CN=mail.google.com
> issuer=/C=ZA/O=Thawte Consulting (Pty) Ltd./CN=Thawte SGC CA

Maybe the openssl s_client (at least the one that you are using or
in the fashion that you are using it) does not send TLS extension SNI ?

I'm confused about the IE8 vs. IE9 behaviour that you report--
could it be that for your IE8 is running on a platform that
does not implement TLS extensions (XP,2003) or has the
TLSv1.x protocols disabled for some reason? 


-Martin