Re: [Uta] SNI text from 7672
Daniel Margolis <dmargolis@google.com> Wed, 18 April 2018 15:19 UTC
Return-Path: <dmargolis@google.com>
X-Original-To: uta@ietfa.amsl.com
Delivered-To: uta@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E030012D874 for <uta@ietfa.amsl.com>; Wed, 18 Apr 2018 08:19:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.71
X-Spam-Level:
X-Spam-Status: No, score=-2.71 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
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 XP4FZFLrAH0T for <uta@ietfa.amsl.com>; Wed, 18 Apr 2018 08:19:20 -0700 (PDT)
Received: from mail-it0-x235.google.com (mail-it0-x235.google.com [IPv6:2607:f8b0:4001:c0b::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EAD0512DA4C for <uta@ietf.org>; Wed, 18 Apr 2018 08:19:12 -0700 (PDT)
Received: by mail-it0-x235.google.com with SMTP id r19-v6so3042272itc.0 for <uta@ietf.org>; Wed, 18 Apr 2018 08:19:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Bzm9I8immGy/PlHyeqy3vad/5EPEmGfP7k3H9T0sFzc=; b=uylfX+XQFb6SO53NoluqbQ1fdirXwxntAeA98jIBkl8xV8FZn+g4v8gytRyIzpUj6f zMqiOm9JLBW8l5eHZmY0m5G3pI4ua53rm9fJGrPUB7dHbZlkwTUw8vPhLaM7bj7nbZuu mU4BfuRJrvmFKScTd2a8QNUKF/EwdfkHgRBzPdPL/7S+0Y3yr81D1PSqjQrW8ckvmqt+ jBKpXZ/2XL5gI+G02gZ9R3CiRdBSkHgIuNEzdylie3Xt0LUmb3ZDUkmfzZqQRAFZPAxO CncTaFr85FUKXuD6reb2FkUiKzkrEJlPN0mmGT7bAv9HHg9tNelJX2kmlIa8Z27myIpx GZaQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Bzm9I8immGy/PlHyeqy3vad/5EPEmGfP7k3H9T0sFzc=; b=A8nEnzXhhE4ZiAKMVKLljggxS2xcpL1ff9jkKp1zpxI4edXcuQrMTlvAZTAYsrUkOU 33Goh2NgP3oj6kuMQ23BEmSqz8y8NQk7mStgTNYGMWKwSsSqnd6c2luLJvKbq3yCeEhL U1sYrubGFkJCLtsFUcEvTuil8t4dP1WBl1ns60PzUPDGVrvTi0groF0iJTpzWUTz/91L WbYa9zBShrMUC0w9sRbk1Je4kuyl0j/23MV3Sw1Fm6C3yLTbQYEQ2GYaY4MRHyd4e49C qUE8TJbuV9RqhNbMPkstWkHrnqtVx20Xug0sy8E+np+1Frm447GW1R/nLeYnFv27jyV+ cZZA==
X-Gm-Message-State: ALQs6tDch5DxBiT9u6PwOAvRmnGYkxyX7kfbE70siVdwo3WpB4nLhOgY iNzMIqNmakSLliI6lv8geQ0Lmi1XO4u4GFB8EWBmP17n+Uk=
X-Google-Smtp-Source: AIpwx4+KtX+huHiBAIMlh/QSVxdXGf0DAKklOHStwN799dAr9oS+w6GMVtJFGYkYuXqGdoCHO9cTiE0pnHJSAplnWMc=
X-Received: by 2002:a24:3dcc:: with SMTP id n195-v6mr2697040itn.25.1524064751490; Wed, 18 Apr 2018 08:19:11 -0700 (PDT)
MIME-Version: 1.0
References: <2CCC0AC3-86AB-462B-92BF-E67CBFBF5434@dukhovni.org> <87woy3q2zt.fsf@fifthhorseman.net> <6D4ED926-4AAF-44AD-817C-490116D84680@dukhovni.org>
In-Reply-To: <6D4ED926-4AAF-44AD-817C-490116D84680@dukhovni.org>
From: Daniel Margolis <dmargolis@google.com>
Date: Wed, 18 Apr 2018 15:18:55 +0000
Message-ID: <CANtKdUc4bAstEBWqWkJr8OtYr0Vx-S9wwb5rAsu5no79P4TAHQ@mail.gmail.com>
To: uta@ietf.org
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="0000000000002db508056a20faae"
Archived-At: <https://mailarchive.ietf.org/arch/msg/uta/Fvl4MusisxBP9yLx6-8CW5iSmuE>
Subject: Re: [Uta] SNI text from 7672
X-BeenThere: uta@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: UTA working group mailing list <uta.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uta>, <mailto:uta-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/uta/>
List-Post: <mailto:uta@ietf.org>
List-Help: <mailto:uta-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uta>, <mailto:uta-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Apr 2018 15:19:23 -0000
Thanks. I think this is consistent with what was added here: https://github.com/mrisher/smtp-sts/blob/master/mta-sts.txt#L633. If not, let me know. Thanks again. On Fri, Mar 23, 2018 at 12:38 AM Viktor Dukhovni <ietf-dane@dukhovni.org> wrote: > > > > On Mar 22, 2018, at 4:17 PM, Daniel Kahn Gillmor <dkg@fifthhorseman.net> > wrote: > > > >> > >> [...] The > >> server MAY rely on SNI to determine which certificate chain to > >> present to the client. Clients that don't send SNI information may > >> not see the expected certificate chain. > >> > >> If the server's TLSA records match the server's default certificate > >> chain, the server need not support SNI. In either case, the server > >> need not include the SNI extension in its TLS HELLO, as simply > >> returning a matching certificate chain is sufficient. Servers > >> MUST NOT enforce the use of SNI by clients, as the client may be > >> using unauthenticated opportunistic TLS and may not expect any > >> particular certificate from the server. If the client sends no SNI > >> extension or sends an SNI extension for an unsupported domain, the > >> server MUST simply send some fallback certificate chain of its > >> choice. The reason for not enforcing strict matching of the > >> requested SNI hostname is that DANE TLS clients are typically willing > >> to accept multiple server names but can only send one name in the SNI > >> extension. The server's fallback certificate may match a different > >> name acceptable to the client, e.g., the original next-hop domain. > > > > for reference, Viktor is proposing this text for inclusion in the > > MTA-STS draft, to ensure that servers are liberal about SNI -- it should > > be up to the client to reject a failed authentication, not for the > > server to pre-emptively abort. > > "Approximately" this text, since it needs a bit of adjustment to make it > less DANE-specific. Specifically: > > >> If the server's TLSA records match the server's default certificate > >> chain, the server need not support SNI. In either case, the server > >> need not include the SNI extension in its TLS HELLO, as simply > >> returning a matching certificate chain is sufficient. > > Needs to be generalized. The first sentence would be changed to talk > about servers that don't need SNI because they only have one identity > and a single matching certificate, so no point in doing SNI. The > second sentence points out that there's no need to ACK the SNI > extension, just return a sensibly chosen certificate. > > Further down: > > >> The reason for not enforcing strict matching of the > >> requested SNI hostname is that DANE TLS clients are typically willing > >> to accept multiple server names but can only send one name in the SNI > >> extension. > > > Actually applies to STS servers that also do DANE, or in any case because > clients that do opportunistic STARTTLS should not (and generally don't, > though some broken ones reject the certificate and then send in cleartex!) > care what chain is returned. > > So this needs a bit of translation to STS, but the general idea is the > same, and much of the language is applicable. > > -- > Viktor. > > _______________________________________________ > Uta mailing list > Uta@ietf.org > https://www.ietf.org/mailman/listinfo/uta >
- [Uta] SNI text from 7672 Viktor Dukhovni
- Re: [Uta] SNI text from 7672 Daniel Kahn Gillmor
- Re: [Uta] SNI text from 7672 Viktor Dukhovni
- Re: [Uta] SNI text from 7672 Daniel Margolis
- Re: [Uta] SNI text from 7672 Viktor Dukhovni
- Re: [Uta] SNI text from 7672 Daniel Margolis
- Re: [Uta] SNI text from 7672 Ilari Liusvaara
- Re: [Uta] SNI text from 7672 Viktor Dukhovni
- Re: [Uta] SNI text from 7672 Daniel Margolis