Re: [TLS] Certificate validation can of worms

Nico Williams <nico@cryptonector.com> Tue, 08 April 2014 19:06 UTC

Return-Path: <nico@cryptonector.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6FB5E1A069A for <tls@ietfa.amsl.com>; Tue, 8 Apr 2014 12:06:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.044
X-Spam-Level:
X-Spam-Status: No, score=-1.044 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, IP_NOT_FRIENDLY=0.334] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G4PW1s7crGVh for <tls@ietfa.amsl.com>; Tue, 8 Apr 2014 12:06:52 -0700 (PDT)
Received: from homiemail-a84.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id 8D3381A06EC for <tls@ietf.org>; Tue, 8 Apr 2014 12:06:49 -0700 (PDT)
Received: from homiemail-a84.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a84.g.dreamhost.com (Postfix) with ESMTP id 8E13C1DE070 for <tls@ietf.org>; Tue, 8 Apr 2014 12:06:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=lom+Vhje3M3g5vjz/kmR bMTIkz0=; b=XNA6XTS5YAV+STVf/cFHaPipsUqVbn0uliI0DRwDhIbElin+QOI9 IA8nqvuM1Q+S5ZTgwNS6qIJFJByRnJv9kOWeJ/l2o9fFu+WfWx7/NoiOdhO3Tc9k RZP452+68ECN+Tm+WqDhWYsUkjdWqoFeejJLnPXMBf2EUbppWjbZ1Jc=
Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a84.g.dreamhost.com (Postfix) with ESMTPSA id 1797B1DE05D for <tls@ietf.org>; Tue, 8 Apr 2014 12:06:48 -0700 (PDT)
Received: by mail-wg0-f49.google.com with SMTP id a1so1437134wgh.20 for <tls@ietf.org>; Tue, 08 Apr 2014 12:06:47 -0700 (PDT)
MIME-Version: 1.0
X-Received: by 10.180.97.72 with SMTP id dy8mr5952176wib.5.1396984007886; Tue, 08 Apr 2014 12:06:47 -0700 (PDT)
Received: by 10.217.129.197 with HTTP; Tue, 8 Apr 2014 12:06:47 -0700 (PDT)
In-Reply-To: <4262AC0DB9856847A2D00EF817E81139178FE7@scygexch10.cygnacom.com>
References: <4262AC0DB9856847A2D00EF817E811391789E8@scygexch10.cygnacom.com> <20140407213051.8B5E11ACAA@ld9781.wdf.sap.corp> <4262AC0DB9856847A2D00EF817E81139178FE7@scygexch10.cygnacom.com>
Date: Tue, 08 Apr 2014 14:06:47 -0500
Message-ID: <CAK3OfOjj_5mKGA5CGcgFbeGzpSoPB7k6rfomD+BwKK-D13n7CA@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Santosh Chokhani <SChokhani@cygnacom.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: http://mailarchive.ietf.org/arch/msg/tls/gSQKMyHNHvaGnPPih2AQAS1DJnI
Cc: "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] Certificate validation can of worms
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.15
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/options/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: Tue, 08 Apr 2014 19:06:56 -0000

On Tue, Apr 8, 2014 at 1:40 PM, Santosh Chokhani <SChokhani@cygnacom.com> wrote:

I agree with what you say, but there is one area where I think name
constraints could be improved: when a certificate has no
subjectAlternativeNames, or only directoryNames when it does, and
those names are RFC6125-style, then if the CA certs in the validation
path have dNSName name constraints then those should be applied to the
CN RDNs of the subjectName and/or dirname SANs that bear the
domainnames.  To my knowledge this isn't codified, but correct me if
I'm wrong.

Nico
--