Re: Client Certificates - re-opening discussion

Martin Thomson <martin.thomson@gmail.com> Wed, 23 September 2015 15:30 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7E8D01A6FF9 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 23 Sep 2015 08:30:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.011
X-Spam-Level:
X-Spam-Status: No, score=-7.011 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_HI=-5, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 l0TE6Esdv0rP for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 23 Sep 2015 08:30:09 -0700 (PDT)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 36EBC1A7005 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 23 Sep 2015 08:30:07 -0700 (PDT)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ZelwK-0008G7-Tc for ietf-http-wg-dist@listhub.w3.org; Wed, 23 Sep 2015 15:26:36 +0000
Resent-Date: Wed, 23 Sep 2015 15:26:36 +0000
Resent-Message-Id: <E1ZelwK-0008G7-Tc@frink.w3.org>
Received: from maggie.w3.org ([128.30.52.39]) by frink.w3.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1ZelwA-0008FM-Nd for ietf-http-wg@listhub.w3.org; Wed, 23 Sep 2015 15:26:26 +0000
Received: from mail-yk0-f171.google.com ([209.85.160.171]) by maggie.w3.org with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.80) (envelope-from <martin.thomson@gmail.com>) id 1Zelw8-0006Qf-Sy for ietf-http-wg@w3.org; Wed, 23 Sep 2015 15:26:26 +0000
Received: by ykdz138 with SMTP id z138so44832539ykd.2 for <ietf-http-wg@w3.org>; Wed, 23 Sep 2015 08:25:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=r+3DjLRUjmodtgBobNYpSqxFoICCaDrbihGj0T45R/0=; b=TSAXTQ7XpRyZptt8AB8YXqUS5YoJHQJdp82V3mmevxkvrDSo6jfoMb735+/JgUTgzS 65yVb/kEArbdTzFI9G8E4A+OEMeY4LAMmRFpBC2Sf5Q0EQebDNk0El+B/FUIYwlFgiIM M5PLNXsVP5UZbYCt59ZVAT8YxYsiJ82f42ggWVPL69W6ismX4x0aJ34nBFQ/64le36Kc vQwxrRr9RfA7WB6zUsZIVNa9wyyp1I1y5yS02SBTS64NgMCz8dnsFOgH9RB19zU6XqZi HNEkhmzU7ZDb+FovB2sN0rT2hSSLcyPOQ2xWi5/iEplArP8OHvKtZC1xNRs0d5Y60kZt 3D2g==
MIME-Version: 1.0
X-Received: by 10.170.170.5 with SMTP id m5mr26609035ykd.110.1443021959100; Wed, 23 Sep 2015 08:25:59 -0700 (PDT)
Received: by 10.129.133.130 with HTTP; Wed, 23 Sep 2015 08:25:58 -0700 (PDT)
Received: by 10.129.133.130 with HTTP; Wed, 23 Sep 2015 08:25:58 -0700 (PDT)
In-Reply-To: <06F248CF-E092-4959-9784-11FA1FFD36A7@greenbytes.de>
References: <63DECDF0-AB59-4AFD-8E48-8C2526FD6047@mnot.net> <42DDF1C6-F516-4F71-BAE0-C801AD13AA01@co-operating.systems> <2F3BD1CB-042D-48AB-8046-BB8506B8E035@mnot.net> <CABcZeBNpjbNdeqxP_cwCDygk6_MVDoNhqcMEDmEvEBxztmonLg@mail.gmail.com> <20150918205734.GA23316@LK-Perkele-VII> <70D2F8CE-D1A2-440F-ADFC-24D0CE0EDCF1@greenbytes.de> <CABcZeBPNxEA6O324tnF3dbUCLD-a7uUvWYYjO1pnYwAm9cN2eA@mail.gmail.com> <CY1PR03MB1374F1CA73EFDA80C7CE44E887580@CY1PR03MB1374.namprd03.prod.outlook.com> <9BD53F44-94BA-4931-891A-BD94B5F440D0@gmail.com> <CY1PR03MB1374BE698FEB732EBB9BD96087460@CY1PR03MB1374.namprd03.prod.outlook.com> <68879535-44AB-4E68-BA42-827BA334D9A8@gmail.com> <CAJU8_nX3kOxTavtz6s8EV_M0wfvgQorDsVDRszqqebVEHh++kw@mail.gmail.com> <C6DB2FC1-AA9B-43B9-BF28-AFB6B2957F9E@gmail.com> <6B89D91E-8E76-46E0-A2B5-1E764DDC5AD0@greenbytes.de> <CAJU8_nX5jY6X0Nnd5Vke0wpYS3UCsmyzqvD6xoQ4u_L7Wfr3SQ@mail.gmail.com> <4456BAAA-125B-4038-AAC7-77A20F0C75B1@co-operating.systems> <C874EAAC-FF26-42C6-BB6C-5785A6508664@bblfish.net> <CY1PR03MB137427E0C66A2297C844DDBF87460@CY1PR03MB1374.namprd03.prod.outlook.com> <F2A23F97-E114-40D3-8691-84CB7B54A791@greenbytes.de> <E549D977-DC88-4E39-B65B-EE674E541157@mnot.net> <06F248CF-E092-4959-9784-11FA1FFD36A7@greenbytes.de>
Date: Wed, 23 Sep 2015 08:25:58 -0700
Message-ID: <CABkgnnVMzvKhFB_8EmE8Dj9m4_cOafWhyWXtUSwSXK_a9MdUbA@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Stefan Eissing <stefan.eissing@greenbytes.de>
Cc: Mark Nottingham <mnot@mnot.net>, HTTP Working Group <ietf-http-wg@w3.org>
Content-Type: multipart/alternative; boundary="001a113973da4681a305206bbb12"
Received-SPF: pass client-ip=209.85.160.171; envelope-from=martin.thomson@gmail.com; helo=mail-yk0-f171.google.com
X-W3C-Hub-Spam-Status: No, score=-7.9
X-W3C-Hub-Spam-Report: AWL=1.842, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, W3C_AA=-1, W3C_DB=-1, W3C_IRA=-1, W3C_IRR=-3, W3C_WL=-1
X-W3C-Scan-Sig: maggie.w3.org 1Zelw8-0006Qf-Sy 54dbe632eef4bdac5c1914f9d301be1d
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Client Certificates - re-opening discussion
Archived-At: <http://www.w3.org/mid/CABkgnnVMzvKhFB_8EmE8Dj9m4_cOafWhyWXtUSwSXK_a9MdUbA@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/30261
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On Sep 23, 2015 1:55 AM, "Stefan Eissing" <stefan.eissing@greenbytes.de>
wrote:
> One could advise a client that HTTP_1_1_REQUIRED indicates that the
request uri ref indicates the server realm where this restriction applies.
For Apache httpd at least, client cert renegotiation is a directory based
configuration.

The notion that you might infer something about other resources based on
some unspecified dissection of a URL and a response seems to fragile to be
wise. That suggests something explicit, which leads back to 421.

> Further, a client thus falling back to HTTP/1.1 to trigger the proper TLS
params, *could* try to "Upgrade:" to h2 again on the same request, given
that all security requirements are fulfilled. This is outside the spec atm,
right?

Yeah, TLS implies ALPN.

> (I had already one site with "421 Ping Pong" reported, where the client
got a 421, teared down the connection, opened a new one, got a 421 on a
later request, teared down again, opened exactly as in the beginning a new
one... all this does not match exactly this case, but it shows that there
are interop issues lurking.)

Redirect loops happen too, so I imagine that this can be handled in a
catchall.

The ideal solution is to find ways to address all use cases in HTTP/2. For
that, I agree that client authentication in response to a request will be
needed.