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

Viktor Dukhovni <ietf-dane@dukhovni.org> Wed, 25 March 2026 08:17 UTC

Return-Path: <ietf-dane@dukhovni.org>
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 6D473D1102A0; Wed, 25 Mar 2026 01:17:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -4.398
X-Spam-Level:
X-Spam-Status: No, score=-4.398 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (1024-bit key) header.d=dukhovni.org
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 RQSnuHRuiSYX; Wed, 25 Mar 2026 01:17:51 -0700 (PDT)
Received: from chardros.imrryr.org (chardros.imrryr.org [144.6.86.210]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id B303AD11029B; Wed, 25 Mar 2026 01:17:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dukhovni.org; i=@dukhovni.org; q=dns/txt; s=f8320d6e; t=1774426668; h=date : from : to : subject : message-id : reply-to : references : mime-version : content-type : in-reply-to : content-transfer-encoding : from; bh=g/9eaBngEvqwOZHS9MB2gVefhkQJ3agOnswHNY4j9IE=; b=Y34mGrx8m+bgxyf97HQX4w8ndl/eEA0dm3y2EfzZwz5YKKwRuX04yER03Y+EFwIAgZrLm epAIosiSA8qvbiJxx7pR+JmIJzb1xMrc4uMQMezlebhSQo7cAgS5AQfdX86efdsEwvwm7jc vVOGGlxfgxgLDA8yl89isiCWPBzVFvw=
Received: by chardros.imrryr.org (Postfix, from userid 1000) id BA754938E14; Wed, 25 Mar 2026 19:17:48 +1100 (AEDT)
Date: Wed, 25 Mar 2026 19:17:48 +1100
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: spasm@ietf.org, tls@ietf.org
Message-ID: <acOaLGJZwoZM0cFX@chardros.imrryr.org>
References: <MN2PR17MB40314193002D42E6ED4F465ACD4CA@MN2PR17MB4031.namprd17.prod.outlook.com> <4732.1774288835@obiwan.sandelman.ca> <acGB3/g8HMNNOP4J@ubby> <f6bfea57-f9b9-48df-9d9a-45978460e881@gmail.com> <CAAFsWK02e4Q5+VkB3wPOXkT1W_apLu8Sz-66fxcAKwsco0rfEg@mail.gmail.com> <acNGIxTvpV3Dog0f@chardros.imrryr.org> <CAAFsWK3FfenuQ7M5UrFTX1aEwvX2aR=4ma=R2tSz3h4D9NU5YA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
In-Reply-To: <CAAFsWK3FfenuQ7M5UrFTX1aEwvX2aR=4ma=R2tSz3h4D9NU5YA@mail.gmail.com>
Mail-Followup-To: <spasm@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-ID-Hash: SPFV7FJUWUCGVWBLP4TKNIAZ26MVYQDP
X-Message-ID-Hash: SPFV7FJUWUCGVWBLP4TKNIAZ26MVYQDP
X-MailFrom: ietf-dane@dukhovni.org
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
X-Mailman-Version: 3.3.9rc6
Precedence: list
Reply-To: spasm@ietf.org
Subject: [TLS] Re: [lamps] 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/8mSwk73EhJH4TnU5Do_i147ZUYo>
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, Mar 25, 2026 at 12:41:09AM -0700, Wei Chuang wrote:

> > I am very surprised to hear that Gmail presents client credentials in
> > the SMTP-OUT direction?  Why is this done?
> 
> We observed that for 38% of outbound messages, the server requests client
> the certificates.

Sure, but that alone does not mean you have good cause to oblige, and in
fact provider a client certificate.  Do you have specific evidence these
are actually needed in enough cases to warrant their use?

The same 38% of servers surely also request certificates from all the
other MTAs that send them email, and those MTAs (often Postfix)
typically ignore the request...

> > I don't see why one might expect just sending "serverAuth" certificates
> > as a TLS client would be expected to work, except by prior arrangement
> > with specific servers known to tolerate this, or those that do not
> > actually validate CA trust in any presented client credentials.
> 
> I would argue that the SMTP MTA-to-MTA traffic model differs from the
> original WWW TLS client-server model envisioned in RFC 5280, Section
> 4.2.1.12 anyways.

But those STARTTLS-capable SMTP servers use mainstream TLS stacks that
in generally support the EKU extension, and enforce the expected
semantics.  Much as one might wish for a more liberal interpretation, I
am not aware of library support for that.  My proposed work-around for
Postfix is just days old, and may not land in a stable release until Q1
'27, and even then would require a non-default configuration.

> Since clientAuth will soon be unavailable, serverAuth is
> the closest fit for SMTP-OUT certificates.

That's wishful thinking, it is not a "closest fit" it is not a fit at
all, i.e. not viable for use by TLS clients.


> Further, clientAuth certificates for the most part lack governance
> behind their content (besides closed ecosystems like X9), so beware.

But the prior practice was not to issue "clientAuth"-only certificates,
rather it was that "serverAuth" certificates also got an *additional*
"clientAuth" EKU in case they needed it (as some do).  In fact you're
specifically suggesting exactly that, treating "serverAuth" as good
enough also for "clientAuth", but this is not currently implemented
at any case (my own Postfix server aside, where I briefly turned it
on to test).

So we now see that the Chromium Root Programme policy was likely a
tactical error, that may be doing more harm than good.  Perhaps it
can be refined to state that "clientAuth"-alone must not be issued
by conforming CAs, but "serverAuth" + "clientAuth" is fine?

> > If possible, please keep us (or at least just me) apprised of any
> > substantive changes that come out of these conversations.
> 
> I'm not part of those conversations.  Someone pointed out those
> discussions to me, so I wanted to pass that along as I thought they
> would be relevant and help inform the conversation here.  -Wei

Thanks.  I guess I'll have to keep abreast of these by other means...

-- 
    Viktor.  🇺🇦 Слава Україні!