[lamps] Re: [EXTERNAL] [TLS] Re: Re: Re: Re: TLS Client Certificates; a survey

Eric Rescorla <ekr@rtfm.com> Wed, 01 April 2026 21:57 UTC

Return-Path: <ekr@rtfm.com>
X-Original-To: spasm@mail2.ietf.org
Delivered-To: spasm@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 069B2D51E784 for <spasm@mail2.ietf.org>; Wed, 1 Apr 2026 14:57:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1775080651; bh=TFMcwkV12mF3E9053nM5gvXd5QraJ/DKvAmwLdgcQxo=; h=References:In-Reply-To:From:Date:Subject:To:Cc; b=y+Cfctyr/0epM+BKFA3052GK1lVw02GO84r1MndvyT3vNi/0OBORJdC64qeWcFfx0 p0ynd5Jcu4z3eSLDB91GzOx3uOcGl9rEwcGNcf3Ls5pvm86CYHGHj32nUkkUm7X0Ub KzVouC+ljnhJ8iMwQm+Tvdvy3yKx/QgqXJKCVUp8=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=rtfm-com.20230601.gappssmtp.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UsukmwDVP74h for <spasm@mail2.ietf.org>; Wed, 1 Apr 2026 14:57:30 -0700 (PDT)
Received: from mail-yx1-xb129.google.com (mail-yx1-xb129.google.com [IPv6:2607:f8b0:4864:20::b129]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 816B7D51E01F for <spasm@ietf.org>; Wed, 1 Apr 2026 14:56:01 -0700 (PDT)
Received: by mail-yx1-xb129.google.com with SMTP id 956f58d0204a3-64fc6b21789so207697d50.3 for <spasm@ietf.org>; Wed, 01 Apr 2026 14:56:01 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1775080561; cv=none; d=google.com; s=arc-20240605; b=EUOq9eSWn6M/I7M65xEl3Fg3OFEeXfWPgVwb/5H25eExeC6x1Iijye2hoO5CEA9SP2 WSa19vh0+EpHPmVgsa7bmX1DQ4VxLRyPJYIyPI0wldzBnR9glh7H2zeJvNTibuuG2T+z neavfESIxtuI87TmzlSuqA7GHIqRsGmGqqM/1/8S2uxB6O95Q7Je+y76Dw7HpB7OBzlD FGKGC1kntVgYxFT7BHT3oiTlol9iAemS3j5cRhXqCsVMNIYLaMu4TPEE/5xafizTdWhd nUVSjNl1rhUbn+WqadPi4LDUtZuKVKrys85LgPz3VIsKdQqhQMhZDFEwbnSb+PBhdfY4 wGWw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=s/bp92XEe3HZJoh+EJFQiWNeU9uwOtGYECxL+d1vPyA=; fh=GB427P2zGrHebbEQ8P9xtFdZd4CuCLd+u+p3ont9Lc0=; b=lwaW3AVS/0Q7ZOSkMntdB8KIFuFNbVNA6rAmijn097bBH+v2xkQnhRQ4228fqNEFKM 3iozWtKpYW4kf+w73nlwHDKntbFSDD1x/dDpT7SBA2UmAqiAwB6D7OxvYfsNRJeBg2jU uLTwOHa192lXQYxF/Hh4YkQaK61kmHJefjUT511NVeNUh9R8aqyoVtU37PXzRf+mfIQf PdURL0IrirPAeq5pmpcKfVL62+JYT/XDokG97V77BpTKp2PxVnA4IERKK7ZAdAiCVsmA 1v5UwLNPdjAKM93GqSkZDkrWXYeknf9kvXI4v23kz4dV8x5SKdV+wQFM0DPJDIIYBLhx 3nPw==; darn=ietf.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20230601.gappssmtp.com; s=20230601; t=1775080561; x=1775685361; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=s/bp92XEe3HZJoh+EJFQiWNeU9uwOtGYECxL+d1vPyA=; b=fE2hqEXKWWpb+S5Zmkf4qTotBd29ySZjNjvFVu+RLueATJoojv5EfP6D9zmse9iGcK S2jzQ/zbW77EiYkGrY/wjQuWIDJCUHddpvBXS/LoA/3Ze+mdo3FlxoLkXFdPKVZ8vYkr WL6pL4bIiuufP07xfnIywWEG7ZOa7AKJh1Sm50vIai+UVLaFhIT+q71KBFd5iLRPvqvG B6zmCej5KHk0rf25tnJauH6by4KOUlmfM+N5gcCKMmFZjprWrss5btaPurZTqNo0qG20 2hDs/MSvX2zszAJr6lQGWf2WkPDH1d7xak2QV6GBBPq2pdUY6ARYd4BrL+IJnfmRKLcX aAUA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775080561; x=1775685361; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=s/bp92XEe3HZJoh+EJFQiWNeU9uwOtGYECxL+d1vPyA=; b=Pb2SJHS7l/MI3EgBmFkednAQTLD5gCWLY/ylO+A94vcfML8kb8b4guJQoCcAcW5ao/ 684aD/DhGibsSl5of3VXAMcT8g3FddcqoDMh/NeFajo6CEcIR+ng14BQca8iGx2szdb4 UwCqPbZ172NV3cUs7k4QMFi8jjRNkhLgsG3DdVTe5yJTOrD9x5PUupjiSgeiW/O/qqbd N9acUR8muM/7shRI07l+YEEa9Q8aCU0vfnjH2dGZzqnAfBfCrizBr3HD6YcO2RY5oDVq kMSPrKj7p6WpnwIz3UT/2Dwv7v+bQk2rOdWq635xLRMNDRg5JKxQk/JM6ABtBhLw8T1/ 7vfw==
X-Forwarded-Encrypted: i=1; AJvYcCXDfUPOjcJt7z1LysBUeydP2fVD5QiVbrrGr+7GWxfVEvOmoMasWgctf8TkMljRpUHxXMWLFw==@ietf.org
X-Gm-Message-State: AOJu0Yw3GpsVW10YtAY36DsXuQx6CczRJyOhRGXbuq2XxUKhROZc39Vc Yx4Ej9i4yh8j6Fu0Y3xSXARr6W5uFDxHE4oQDUTOQ4Nz3FZ/wK2aL1UMTHsZ3YqZzEiHkqJYWO4 OZjJKyizHdxofV15xkcVY9pZKrvvoJMoZUWwEOYAijw==
X-Gm-Gg: ATEYQzzsF/feWBbYSwWpavXzvNjARvY4s1uruOV7t2W0wQBiNXIbMoJCkqKQGYmVVxo ZrEdkt8W/a6bsMisxvGbJCpzk3XzDLsmCPqnZD9DPq4C6xY+u4CrISOxSGML9awnwaEttph86sL XHsOVZcls+8rWKu8htDMGqnSL28zv+cnCXmGT4EMpcJAcjYXQe8uae1639UfaQYZrPFhgscTv8G vmHCOHUNSmH3FvJZp3Moctee7I9OPegSaCviq8nL5Cwe4LfSlGyh0YlRFbktGtEItopqFjICBxw cfl9BSygkThSSLIZz0bcdzvXaUajV6Pd+tHQVu+NOdMy2mOsQT+2yIkQssMyARUv/NHDr+T9N2o uxRJoqfihc/djwesnk+vKFQ==
X-Received: by 2002:a05:690c:2506:b0:7a0:4a34:16d6 with SMTP id 00721157ae682-7a212149229mr60824917b3.44.1775080560944; Wed, 01 Apr 2026 14:56:00 -0700 (PDT)
MIME-Version: 1.0
References: <MN2PR17MB40314193002D42E6ED4F465ACD4CA@MN2PR17MB4031.namprd17.prod.outlook.com> <MN2PR17MB40315028C6985BD9F4F0C886CD52A@MN2PR17MB4031.namprd17.prod.outlook.com> <acrfWoDSHUrYj1if@ubby> <CAKZgXHqKBwYqjB3SOexT1B3=P2m83esgQTV74PJtjk+LGwAhcA@mail.gmail.com> <CACf5n7-n6xj35ukPznkes8rDx9-QWi+CDntt2Z5jcM1L+uo1RQ@mail.gmail.com> <MEAPR01MB3654DAD44EEA7037763885D0EE50A@MEAPR01MB3654.ausprd01.prod.outlook.com> <LV0PR21MB66235C39FFCC9E350BC982DA8C50A@LV0PR21MB6623.namprd21.prod.outlook.com> <AE27DD88-67C5-43DE-B23E-A2DD84714F36@vigilsec.com>
In-Reply-To: <AE27DD88-67C5-43DE-B23E-A2DD84714F36@vigilsec.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Wed, 01 Apr 2026 14:55:24 -0700
X-Gm-Features: AQROBzDlo8spt0XST6NcbkBA_4Rnu6YJwtWEC36Xr_HExOJcfXunVLrkiYZxX7w
Message-ID: <CABcZeBNPsiG8qAWaAGLc665-jQMu-aBTDf34kbVGcSdRN-NqJA@mail.gmail.com>
To: Russ Housley <housley@vigilsec.com>
Content-Type: multipart/alternative; boundary="00000000000048784d064e6d266b"
Message-ID-Hash: KEC3GPHHDXH47WFGHYJV5DYB7HIDXRXM
X-Message-ID-Hash: KEC3GPHHDXH47WFGHYJV5DYB7HIDXRXM
X-MailFrom: ekr@rtfm.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-spasm.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Andrei Popov <Andrei.Popov@microsoft.com>, David Adrian <davadria@umich.edu>, Tls <tls@ietf.org>, "spasm@ietf.org" <spasm@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [lamps] Re: [EXTERNAL] [TLS] Re: Re: Re: Re: TLS Client Certificates; a survey
List-Id: This is the mail list for the LAMPS Working Group <spasm.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/spasm/tmNs2Lupfhfg0iUCZn8N-mDzA3w>
List-Archive: <https://mailarchive.ietf.org/arch/browse/spasm>
List-Help: <mailto:spasm-request@ietf.org?subject=help>
List-Owner: <mailto:spasm-owner@ietf.org>
List-Post: <mailto:spasm@ietf.org>
List-Subscribe: <mailto:spasm-join@ietf.org>
List-Unsubscribe: <mailto:spasm-leave@ietf.org>

On Wed, Apr 1, 2026 at 12:00 PM Russ Housley <housley@vigilsec.com> wrote:

> Andrei:
>
> To protect a connection between two SMTP servers with TLS, one certificate
> should have cliantAuth and the other should have serverAuth.  The simple
> solution is for both certificate to have both cliantAuth and serverAuth. so
> that either SMTO cserver can start the TLS session.  While this is not the
> WebPKI, the Internet email system is not a private PKI.  It seems like the
> proposed policy is forcing such certificates to be under a separate root.
>

Hi Russ,

WARNING: Potentially bad idea ahead.

id-kp-serverAuth is actually defined for "TLS WWW server
authentication", so ISTM that using it for an SMTP server is actually
already not really conforming to the Extended Key Usage requirements
in RFC 5280. I'm not as familiar with the specifications for SMTP and
XMPP, but AFAICT they don't update RFC 5280 to expand the meaning
of serverAuth.

With that said, I think that there are two qualitatively different
scenarios when mutual TLS authentication is used:

- Asymmetric, with clear roles for client and server (e.g., HTTPS)
  where one endpoint is always the client and the other the server
  [0].
- Symmetric, where each side can take on the role of client or
  server depending on the situation, as in SMTP or XMPP.

Given that using certificates with {client,server}Auth in these
other protocols is already off the fairway, it seems like we could,
if we wanted, clarify matters by (1) explicitly permitting
serverAuth in these protocols and (2) stating that for at
least some of them, server-to-server connections needed the
TLS client to have a serverAuth certificate rather than
(or more likely in addition to) a clientAuth one, but with
serverAuth preferred going forward.

This may well be a bad idea, and people should definitely feel
free to say so, but it seems like at least one potential
way out of this mess, given that we know that a lot of
endpoints are going to do this in any case.

-Ekr


[0] Ignoring for the moment that the server may also connect to
other servers as in a CDN.


> Russ
>
> > On Apr 1, 2026, at 2:52 PM, Andrei Popov <Andrei.Popov=
> 40microsoft.com@dmarc.ietf.org> wrote:
> >
> >> So what actual problem was disallowing clientAuth intended to solve?
> > I would invert this: what problem does a public CA-issued client cert
> solve? When is it OK for a TLS server app or service to trust every client
> cert issued by an arbitrary root in a SW vendor's TRP?
> >
> > Cheers,
> >
> > Andrei
> >
> > -----Original Message-----
> > From: Peter Gutmann <pgut001=40cs.auckland.ac.nz@dmarc.ietf.org>
> > Sent: Wednesday, April 1, 2026 3:02 AM
> > To: David Adrian <davadria@umich.edu>; Mike Ounsworth <
> ounsworth+ietf@gmail.com>
> > Cc: Salz, Rich <rsalz=40akamai.com@dmarc.ietf.org>; Tls <tls@ietf.org>;
> spasm@ietf.org
> > Subject: [EXTERNAL] [TLS] Re: [lamps] Re: Re: Re: TLS Client
> Certificates; a survey
> >
> > David Adrian <davadria@umich.edu> writes:
> >
> >> History has taught us that commingling PKI use cases causes more harm
> >> than good. It is a consistent security problem when PKI hierarchies
> >> intended for public web sites get entangled in non-web use cases. As an
> >> example, such behavior slowed the deprecation of SHA-1 in 2018 because
> >> payment card terminal implementations and their corresponding root
> >> stores could not be updated.
> >
> > So what actual problem was disallowing clientAuth intended to solve?  I
> can't imagine any situation where doing this is a good thing, but as others
> have pointed out there are numerous situations where it's a bad thing.
> >
> > Also, for users of said certs, is the eKU in them critical or not?  Its
> usage has changed over time from the original "non-critical = advisory
> only, used to select the right certificate" to the more recent "both
> non-critical and critical are to be treated as per the critical text".  I'm
> not sure if this newer interpretation was a unilateral decision on behalf
> of the RFC authors (it looks like the non-critical text portion just got
> dropped from the doc) but when PKIX debated it there was, as was typical
> for PKIX, a 50:50 split as to whether it was strictly enforced or advisory
> only.
> >
> > Peter.
> > _______________________________________________
> > TLS mailing list -- tls@ietf.org
> > To unsubscribe send an email to tls-leave@ietf.org
> > _______________________________________________
> > Spasm mailing list -- spasm@ietf.org
> > To unsubscribe send an email to spasm-leave@ietf.org
>
> _______________________________________________
> Spasm mailing list -- spasm@ietf.org
> To unsubscribe send an email to spasm-leave@ietf.org
>