[TLS] Re: [lamps] Re: [EXTERNAL] 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: tls@mail2.ietf.org
Delivered-To: tls@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id BBEDBD51E788 for <tls@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=unavailable 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 hv9LwKX6y8bk for <tls@mail2.ietf.org>; Wed, 1 Apr 2026 14:57:30 -0700 (PDT)
Received: from mail-yw1-x1135.google.com (mail-yw1-x1135.google.com [IPv6:2607:f8b0:4864:20::1135]) (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 82C67D51E020 for <tls@ietf.org>; Wed, 1 Apr 2026 14:56:01 -0700 (PDT)
Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-79cd8f8e261so1583787b3.3 for <tls@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=bMFBiHEIc6tOW7ha7HzzHQubgBOmU1QlJjRVhECCzgfX6ot0LnZO0lUOCNk3LxqtSg tgd5X2PYaBciYZJM4+7E/Ydo6kRYQc3FyKQtxrJAgjDw6C72ced9LyR/YbJ/IRqncLTk 1zH6CziE/AFVuFUH6anm5VhQ1g1qZQE60bH0Kv5HPc5gXMFNox4bSlZ1uHxxRXpxL9qg QyyjixyodCKaKY2Ii4GtdNERKO3UYn+/1AUMAPxBFF7cBzWk7Akp+39IiSOlIWrnj1tU 24TkQDlwFXv6ZFOha1ELoHkwvlg+wEynGNPZ9KmeypQHUJ1FNtvRF8GKkr11KEXC4cCP gx7A==
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=/wAlYogBR0xWTKM33G+mI+vW4vzUqu7ttIyVUUZOkaI=; b=A6u0xe2y5QlXVtCRaqiWGsGhE4U4HHgOnTFjBcMLLm9yqwR3cNw++fgmHYLyb5OiZX kpmewOtkVh6MneQZrgPhhQ+CbM9gl1CcHssYnwnuIaEGtLoe7dUsIKd+1TLg2RjFO6+X k1D8G8ohqodL493F7L2Xlt9Tp6wK9Nx+1gVzz8hoD251Z7WL14oFKXibEIAcvyfF5EAP tZFi6dbHVmOcMmkh/ytWXzKuCERW57uItObWhJUJcEwjtBHmQeiPSjH9MtEwbaMnZ1NP Ixvuf0bj3wFY959+hJPv7LNBlfYaIXiAv6DDhBNNF4t3FMgNhlf5DCK/auKfbYXX9PdT 39FA==; 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=RVamP+CNjYyIb0nQnzdPFL1SLBSpXnMIjeHG7pv47kecNU9eo2W73I7zZjuktuUm8S ac7ew6+xQQp+u1szcH9F+XHXLvTNEf/CSQ3Q6qaiwFZ80H1oZbZ1k9vHQXpOie95qq+4 hNOLbYDQIdRrPXsNSd0PwCCCWpEuMyv8ZABTGCqss34hu+eM3WwjHzHIU+2jhhT5s5IL fPYjxE3x+yUGcg2SV4URhQ1Tzvbisgf6qxoLUfcC0iD8NSB6eUyTUdZE4//cGQes/kpV 1vtE8uQ1XkvOE+yYK36tgMFcQQfq1u3uw/DpoIXs+XLigFx1FkQQ3xz46xG1aPRMtWv5 gs/A==
X-Forwarded-Encrypted: i=1; AJvYcCUsb0g4v8WOd+Gptg3aXDgX7WhszDJaC2aZY1FcJOh9TQ7eKCXUvGOda15vjgqkm/1qEbM=@ietf.org
X-Gm-Message-State: AOJu0YyjvN1cAXnPLfvHrK1vaY7gMIjzcFaMAdhcZg8DtRG1R2fqGhab HFF1h9ZSPLhsGFQSFJePdmBStFneDFVSWGsenpRrHBhLvuO/HMpbilFdCWTqkeHca+TzKuuswO4 Xx+OV0f0kImRZYD+ptNYj6JJqx1simU6zhLM/VeluAg==
X-Gm-Gg: ATEYQzwuhprxciPKz7ZvfFZiATwfUxZfFXAhAofjssQfRxoAG95eDakIcbu8v5eFDlw wx9tDwdWcP5svhFFdwCy07EiWocFYTsKlTO0XEX6T2HNODgj1UE3xPFcXqU6cgwfAjw4JIRKD8a /lCanwZJ5Xkcl/lPGL6OerxVoSb5V/P2ydFLg82Ai6/bRa6ZyN3mF4kaYRJN3hNAnbvYIF2PUPd 2rKEg4U0I3Whj+NPO2UMIkoXdOEujA3CaVzc1A7Z5qZnuL932ou1bSwmJke3jCXNuUq0CMbA7Ne aigRN4Wbdh6MApiINn9wPZNluSnjX+QTWbEKEVnBZr6T966hPNjklXQw4S8u89z+u3W+Mg23wVd YI0hWZaWKdPG0tZ59UAYK/w==
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-tls.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>, Tls <tls@ietf.org>, "spasm@ietf.org" <spasm@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [TLS] Re: [lamps] Re: [EXTERNAL] Re: Re: Re: Re: TLS Client Certificates; a survey
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/mukBuhEJ3ytz7WakKMSBLeDJRwM>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Owner: <mailto:tls-owner@ietf.org>
List-Post: <mailto:tls@ietf.org>
List-Subscribe: <mailto:tls-join@ietf.org>
List-Unsubscribe: <mailto:tls-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
>