Re: [TLS] New version of Multiple OCSP mode of Certificate Status

"Yngve N. Pettersen (Developer Opera Software ASA)" <yngve@opera.com> Wed, 04 August 2010 18:29 UTC

Return-Path: <yngve@opera.com>
X-Original-To: tls@core3.amsl.com
Delivered-To: tls@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8921C3A67DB; Wed, 4 Aug 2010 11:29:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 BYJB84+6QgON; Wed, 4 Aug 2010 11:29:55 -0700 (PDT)
Received: from smtp.opera.com (smtp.opera.com [213.236.208.81]) by core3.amsl.com (Postfix) with ESMTP id B9B8A3A6807; Wed, 4 Aug 2010 11:29:54 -0700 (PDT)
Received: from acorna.invalid.invalid (219.71.202.84.customer.cdi.no [84.202.71.219]) (authenticated bits=0) by smtp.opera.com (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o74IUGSB028638 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 4 Aug 2010 18:30:22 GMT
Content-Type: text/plain; charset="iso-8859-15"; format="flowed"; delsp="yes"
To: Martin Rex <mrex@sap.com>
References: <201008041747.o74HlmWa004600@fs4113.wdf.sap.corp>
Date: Wed, 04 Aug 2010 20:30:13 +0200
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
From: "Yngve N. Pettersen (Developer Opera Software ASA)" <yngve@opera.com>
Organization: Opera Software AS
Message-ID: <op.vgxe0necqrq7tp@acorna.invalid.invalid>
In-Reply-To: <201008041747.o74HlmWa004600@fs4113.wdf.sap.corp>
User-Agent: Opera Mail/10.60 (Win32)
Cc: pkix@ietf.org, tls@ietf.org
Subject: Re: [TLS] New version of Multiple OCSP mode of Certificate Status
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tls>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Aug 2010 18:29:56 -0000

On Wed, 04 Aug 2010 19:47:48 +0200, Martin Rex <mrex@sap.com> wrote:

> Yngve Nysaeter Pettersen wrote:
>>
>> Opera has a 15-20 second timeout for such operations, as well as AIA
>> intermediate CA cert retrieval.
>
> Why is Opera doing something as extremely dangerous as intermediate CA  
> Cert
> retrievel based on AIA?

Opera, and AFAIK MSIE, retrieves these specified certificates in an  
attempt to complete the incomplete chain that the server sent, and there  
are too many of those servers around (As an example, try  
https://member.ruten.com.tw/user/login.htm in a few browsers, which is at  
the time of writing missing a Versign G2 intermediate cert).

Opera only accepts these certificates if they chain to an already known  
and trusted Root, and verify successfully once the chain is completed.  
Should the downloaded certificate turn out to be a Root it is  
automatically discarded. If they pass all of this, the certificate is  
cached.

The only other alternatives are to either display a certificate warning  
for those sites, or ship with every intermediate in the Root repository.

See also http://my.opera.com/yngve/blog/2007/12/21/new-w-not-in-kestrel4  
for background.

As for danger, I would think that it is no more dangerous than going to  
arbitrary websites are already, or downloading OCSP and CRLs (which are  
also specified in the certificate).

-- 
Sincerely,
Yngve N. Pettersen

********************************************************************
Senior Developer                     Email: yngve@opera.com
Opera Software ASA                   http://www.opera.com/
Phone:  +47 24 16 42 60              Fax:    +47 24 16 40 01
********************************************************************