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 18:51 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 F1CC5120125 for <oauth@ietfa.amsl.com>; Mon, 28 Oct 2019 11:51:15 -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 FVA46j6ho5kO for <oauth@ietfa.amsl.com>; Mon, 28 Oct 2019 11:51:14 -0700 (PDT)
Received: from mail-il1-x12c.google.com (mail-il1-x12c.google.com [IPv6:2607:f8b0:4864:20::12c]) (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 061A612026E for <oauth@ietf.org>; Mon, 28 Oct 2019 11:51:14 -0700 (PDT)
Received: by mail-il1-x12c.google.com with SMTP id t5so9100479ilh.10 for <oauth@ietf.org>; Mon, 28 Oct 2019 11:51:13 -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=oWpTqZ+hMa6iz6v8lThuKD/pK6aNq3VGD3i5TEK41jg=; b=bNW1OUPDxDMT1MFITsHoA+h5h5cafGzQqfWFb3ZuTAgi35PfxxTTmKwcKsP7j6V8fJ GgkX5xAspyG3SbkyrWsCAKoXakHe/b7JkWnJAyMwf8SFOI0QsOFZphLGAuSLDyDAGqqd Zq5SXjrbCAaitn2jWnxVOK3IalCDm7tLXHLqe5zPpfVpS5qF/Uqwsv2mQ5pXHh2/XUqk AbrmqAail9uiNbafS7ExLZF39QwHfehb0DvDn3KfygIuh1wzSfzhuRZsjsrRVw7WnU7C Y83DeDCqSgnpv7uhcbzDnTyZBDKkV0mHp8kSR+K6Jp2zy4alX8NSM4KXqWz3N9JvP7KM rRjA==
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=oWpTqZ+hMa6iz6v8lThuKD/pK6aNq3VGD3i5TEK41jg=; b=s2WG+ultdumHnJEj5XGQ8gTfSH5mKGX/CwBbhSCOMWGo49oodxQLgbhuTLh5CbfCNd BHFfsxIhqz925y7z7FFJ2ZImFI3ZTFocAPgHKrpQiGPw4WM5arBIhl+3VmEDYdRki7fn 6uhA5Yz5hLup4JH4u/MBmaAVTX7sxKqeFQ11SdTrXxPlFj0nyIwmmaJccle/Nk5vP6+g IIRuUZV7TmV7fLWd7uF7urPpQnCkQ+1Kk1ddyYMLFrOWbaU229qlDAL9DCIIIvUVgpk4 UQeZPi1WfKWCd7izP4073z7EWaJeyeffko0dERKWihSdesZxAf8kQrCaO04tKxL/EDG4 wKSg==
X-Gm-Message-State: APjAAAVXX1gWbJAJTCvMAf6U2PMbstMsgos1LcTpcmQV8KIYIVKSxMAd iRPFhWZEEbSwMUQXDvNE84rmOIVCUuL3MwqxZ94=
X-Google-Smtp-Source: APXvYqyOFzAf7FKx4zXpPF4jo1kVo63mWBvveunPIQ5XNM1tqp1zNdGDsZbydE4U9hjmE3FP8t7XY6TW0vN1AV+dMr8=
X-Received: by 2002:a92:9cce:: with SMTP id x75mr22378461ill.31.1572288673322; Mon, 28 Oct 2019 11:51:13 -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> <CAGL6epJQbVDrAKB+zNAPuaG0+uLxF3HijEE6=vgYaeXxB_2PXQ@mail.gmail.com> <CA+k3eCQbku0V6z2wCM084FW342dY6=_H7mEv6U3sHCDgefkxXA@mail.gmail.com> <E03CD445-39E8-4262-97BE-E0EE11231A63@forgerock.com> <BE6B1D4A-26CB-42B0-89F9-88588E47E773@akamai.com>
In-Reply-To: <BE6B1D4A-26CB-42B0-89F9-88588E47E773@akamai.com>
From: Rifaat Shekh-Yusef <rifaat.ietf@gmail.com>
Date: Mon, 28 Oct 2019 14:51:01 -0400
Message-ID: <CAGL6epKaFkOw=GaMxjSK90KxRmMsxrHe3og5704-2Ykq-aM5cg@mail.gmail.com>
To: "Salz, Rich" <rsalz@akamai.com>
Cc: Neil Madden <neil.madden@forgerock.com>, Brian Campbell <bcampbell=40pingidentity.com@dmarc.ietf.org>, oauth <oauth@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000db9a910595fcfb64"
Archived-At: <https://mailarchive.ietf.org/arch/msg/oauth/b3eeQBNt3451PS5qFDvPY5YBpDA>
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 18:51:16 -0000

On Mon, Oct 28, 2019 at 12:48 PM Salz, Rich <rsalz@akamai.com>; wrote:

> Sorry for jumping into this late.
>
>
>
> Client <--> proxy <--> backend
>
>
>
> The C/P side is protected by TLS.  There must be similar protection on the
> P/B side, such as client-cert, or a signature over the certificate being
> forwarded, right?
>

To avoid the misconfiguration issue Neil raised, you probably need both: a
client-cert *and* a signature over the certificate being forwarded,
This could still be achieve by extending RFC7239 with new parameter(s).

Regards,
 Rifaat




> _______________________________________________
> OAuth mailing list
> OAuth@ietf.org
> https://www.ietf.org/mailman/listinfo/oauth
>