Re: [OAUTH-WG] client certs and TLS Terminating Reverse Proxies (was Re: I-D Action: draft-ietf-oauth-jwt-introspection-response-08.txt)

Rifaat Shekh-Yusef <rifaat.ietf@gmail.com> Mon, 28 October 2019 15:05 UTC

Return-Path: <rifaat.ietf@gmail.com>
X-Original-To: oauth@ietfa.amsl.com
Delivered-To: oauth@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5DF1F12010F for <oauth@ietfa.amsl.com>; Mon, 28 Oct 2019 08:05:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 XxoGugxT3QjB for <oauth@ietfa.amsl.com>; Mon, 28 Oct 2019 08:05:23 -0700 (PDT)
Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) (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 6D399120071 for <oauth@ietf.org>; Mon, 28 Oct 2019 08:05:23 -0700 (PDT)
Received: by mail-io1-xd2a.google.com with SMTP id c11so11019808iom.10 for <oauth@ietf.org>; Mon, 28 Oct 2019 08:05:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=10KSBIH1v3R7um9wuUay5yTEXOHJp0agh39XNBpsXHU=; b=DO4lcsuK8ir7p2ddYkGbroqnmLr4KpQPPBH9kAzwX4SQI98/Gn6svoVsCjUeqMYcKH f5w4trLS0LZOC16skL+TB9ajGHBZSiPGxrQqH6Cc1n42GLpbWjcxfi6x0rq+UvNJ2p1d JT9Lp8tF2lB6+9qaENCaY7X8LYdi81mVIPcXDwB+fF6aH8J8dk0k3OIqgi5UqLWZHGXE VDNwRIqEyRNG1OErpP970vWHUt5V2O4a5NTpJCw2SIuNEboMe1/iQIfLlLqtFhSiSW12 Vz9d2LJibuZimXR2e+NcdPTvGkZUYNHw5ge/t2wa2q/Kr9eO3q7oY8bcjdEv2sdD/+RY 45bg==
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:cc; bh=10KSBIH1v3R7um9wuUay5yTEXOHJp0agh39XNBpsXHU=; b=ga+w8zDrlPmJ6WumywSDwVHrGJyfdLo6BuICSQIIae2J2Utm9juWdWJcVyVNjDNvIH fg07n+uKkcdonTwvkphfVwuLArochrf/SlWpDTUgPH+qGUNDT9IQ3R4HxMhEXGbEXcC+ v6LBbtk0VhNHYSqQWy5r+XTNV6r9Wb2aJUYtwKnBMYmwKkZWqaVF2hBxkGOvNKEPt01U jIJj5QoLKy9z/Tf7y2BkjWRFOhclto0ZRMcQ5qhpWKwEvFcBrz1FtDpEwIytWEXPzw1B T1guGKcoyH9k/cJ847l0lM3mlb8tskSkSoydidJTsyPD3eFU67s4oFnwCdmqRk/aO+ky vOnA==
X-Gm-Message-State: APjAAAVGr78iAkyqM8OtTrbeqoNlzRv1zLspy9ynKcINtSi6W6WpHlS6 2g4v7vjTN9EIRKLh9or3A8hfx1+UHWU63appHoM=
X-Google-Smtp-Source: APXvYqyK3Hn5Ie3NWFJzLKB9LzVjldTnkwxLEWLrHQnZY76q0aAmVx5tlLMAgadraHjM1hJyF1H/fjtcTP7HYQVS7JE=
X-Received: by 2002:a02:c48e:: with SMTP id t14mr10167720jam.121.1572275122695; Mon, 28 Oct 2019 08:05:22 -0700 (PDT)
MIME-Version: 1.0
References: <85D42AA1-FF57-4383-BACB-57C5AA32CFAC@lodderstedt.net> <CAEKOcs2gkM3Henz5nS04_EuBQXWWbJU5K02ErP0rnVZXmjxXJQ@mail.gmail.com> <20191021020546.GZ43312@kduck.mit.edu> <CA+k3eCS7pf3wXBkpbXE0AXKUGogo0YcHd8oWfiBfkPB5axGQQw@mail.gmail.com> <8A8B8892-9D16-4210-BC13-47B5D7859976@mit.edu> <20191024170326.GO69013@kduck.mit.edu> <CAGL6epJZtTXKSGFj0BfhF3kd_Z-z2xzOWXOPEKXc5m18Z4L1uA@mail.gmail.com> <CA+k3eCS8VuCfy4XeqYmLuuLK=rLvHsonSZj4i9O11U-mcua9Pg@mail.gmail.com> <CAGL6epKTV5hXqm2-qgUyG-iA90eLu49GjOKeyLcfsn2naTSV5w@mail.gmail.com> <CA+k3eCQ87n4m--nBc+PX7qE727fqA6vM=meEJZxwfnbpJ2dOsw@mail.gmail.com>
In-Reply-To: <CA+k3eCQ87n4m--nBc+PX7qE727fqA6vM=meEJZxwfnbpJ2dOsw@mail.gmail.com>
From: Rifaat Shekh-Yusef <rifaat.ietf@gmail.com>
Date: Mon, 28 Oct 2019 11:05:10 -0400
Message-ID: <CAGL6epJQbVDrAKB+zNAPuaG0+uLxF3HijEE6=vgYaeXxB_2PXQ@mail.gmail.com>
To: Brian Campbell <bcampbell@pingidentity.com>
Cc: Benjamin Kaduk <kaduk@mit.edu>, Justin Richer <jricher@mit.edu>, oauth <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000002d71610595f9d47f"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/2GdMOnQEHk3oZxT08Q-8YHPpU74>
Subject: Re: [OAUTH-WG] client certs and TLS Terminating Reverse Proxies (was Re: I-D Action: draft-ietf-oauth-jwt-introspection-response-08.txt)
X-BeenThere: oauth@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: OAUTH WG <oauth.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/oauth>, <mailto:oauth-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/oauth/>
List-Post: <mailto:oauth@ietf.org>
List-Help: <mailto:oauth-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/oauth>, <mailto:oauth-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 28 Oct 2019 15:05:25 -0000

Thanks Brian,

I guess my question is: given RFC7239 and the fact that it is
straightforward to secure the channel between the terminating reverse proxy
and the backend service in a cluster, is there anything, from a standard
perspective, that we need to do beyond defining a new parameter to carry
the client certificate information?
You seem suggest that the answer is yes. If so, can you please elaborate on
why is that?

Regards,
 Rifaat



On Mon, Oct 28, 2019 at 8:42 AM Brian Campbell <bcampbell@pingidentity.com>;
wrote:

>
>
> On Sat, Oct 26, 2019 at 3:55 PM Rifaat Shekh-Yusef <rifaat.ietf@gmail.com>;
> wrote:
>
>>
>> On Fri, Oct 25, 2019 at 3:47 PM Brian Campbell <
>> bcampbell@pingidentity.com>; wrote:
>>
>>>
>>> I did look at RFC7239 when doing that and it could have been made to
>>> work but felt the fit wasn't quite right and would have been more
>>> cumbersome to use than not.
>>>
>>>
>> Can you elaborate on this?
>> These days, with the zero trust model in mind, there are orchestration
>> tools, e.g. Istio, that easily allows you to establish an MTLS channel
>> between the reverse proxy/load balancer/API GW and the backend servers.
>> Why is that not sufficient?
>> Which part is cumbersome?
>>
>
> What I meant was only that in the course of writing
> https://tools.ietf.org/html/draft-ietf-tokbind-ttrp-09, which aims to
> define HTTP header fields that enable a TLS terminating reverse proxy to
> convey information to a backend server about the validated Token Binding
> Message received from a client, it seemed more straightforward and
> sufficient for the use-case to use new HTTP headers to carry the
> information rather than to use new fields in the Forwarded header framework
> from RFC7239.
>
>
> *CONFIDENTIALITY NOTICE: This email may contain confidential and
> privileged material for the sole use of the intended recipient(s). Any
> review, use, distribution or disclosure by others is strictly prohibited.
> If you have received this communication in error, please notify the sender
> immediately by e-mail and delete the message and any file attachments from
> your computer. Thank you.*