Re: [dane] checking names in certificates

Paul Wouters <paul@nohats.ca> Tue, 14 August 2012 15:55 UTC

Return-Path: <paul@nohats.ca>
X-Original-To: dane@ietfa.amsl.com
Delivered-To: dane@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 972DD21F86D8 for <dane@ietfa.amsl.com>; Tue, 14 Aug 2012 08:55:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.441
X-Spam-Level:
X-Spam-Status: No, score=-2.441 tagged_above=-999 required=5 tests=[AWL=0.159, BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q3Jl6PhfYtTB for <dane@ietfa.amsl.com>; Tue, 14 Aug 2012 08:55:34 -0700 (PDT)
Received: from bofh.nohats.ca (bofh.nohats.ca [76.10.157.69]) by ietfa.amsl.com (Postfix) with ESMTP id 1A41321F86C7 for <dane@ietf.org>; Tue, 14 Aug 2012 08:55:33 -0700 (PDT)
Received: by bofh.nohats.ca (Postfix, from userid 500) id 853718050D; Tue, 14 Aug 2012 11:55:01 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1]) by bofh.nohats.ca (Postfix) with ESMTP id 7C949804BD; Tue, 14 Aug 2012 11:55:01 -0400 (EDT)
Date: Tue, 14 Aug 2012 11:55:01 -0400
From: Paul Wouters <paul@nohats.ca>
To: Tony Finch <dot@dotat.at>
In-Reply-To: <alpine.LSU.2.00.1208141157010.16769@hermes-2.csi.cam.ac.uk>
Message-ID: <alpine.LFD.2.02.1208141151260.18423@bofh.nohats.ca>
References: <alpine.LSU.2.00.1208141157010.16769@hermes-2.csi.cam.ac.uk>
User-Agent: Alpine 2.02 (LFD 1266 2009-07-14)
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; format="flowed"; charset="US-ASCII"
Cc: dane@ietf.org
Subject: Re: [dane] checking names in certificates
X-BeenThere: dane@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: DNS-based Authentication of Named Entities <dane.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dane>, <mailto:dane-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dane>
List-Post: <mailto:dane@ietf.org>
List-Help: <mailto:dane-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dane>, <mailto:dane-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Aug 2012 15:55:34 -0000

On Tue, 14 Aug 2012, Tony Finch wrote:

> In draft-fanf-dane-smtp and draft-fanf-dane-mua I said that clients must
> check that the name in the certificate matches the server host name.

Prepare for a lot of non-FQDN CN's such as "Exchange" to cause failures.

I agree that both skipping the name check and using a TLSA type based on
a CA is dangerous and should not be done. (and I also believe you should
only be using some intermediary CA that you control if you put the CA in
a TLSA record. Reducing the strength of your TLSA to the weakest
customer of a certain CA indeed seems dangerous, and we should probably
have talked about that in 6698.

Paul