Client authentication with public certs is DANGEROUS

The short version

A public server certificate proves someone controls a domain name.
It does not prove they are your client.

A TLS client checks that domain name with every connection.
Your client authentication never checks anything in the certificate. Ever.

Terminology

Client authentication

> A certificate with the clientAuth EKU
> A TLS server certificate, an S/MIME certificate, or clientAuth as the only EKU
> Used to 'authenticate' a user or device to a service
> mTLS / mutual TLS / server-to-server authentication


Publicly-trusted

> Certificates issued under a hierarchy that is widely-distributed
> In the trust-stores of Apple, Google, Microsoft and Mozilla
> Contrasted with a Private PKI or Private CA - those dedicated to a single org
> This does also mean 'shared' or 'ecosystem' PKIs like X9 PKI are publicly-trusted

What “client authentication” means

Normally only the server shows ID. With mutual TLS (mTLS), the client shows ID too.

Client Server 1. Hello 2. Here’s my certificate 3. Who are you? 4. Here’s my certificate 5. Do I trust who signed it?

Who checks what?

A TLS client checks:

  • A certificate is issued from a trusted CA
  • A certificate is valid, unrevoked, has a suitable key-size and duration
  • Contains valid SCTs from a CT log
  • Has the correct dnsName in the certificate for the site/service being accessed - every TLS handshake

With clientAuth or mTLS, the server checks:

  • That the cert is in-date and issued from a CA it trusts.

...that's it. That's all. The rest of the certificate is NOT checked.

Authentication?

Let's be clear: mTLS or client authentication with public certificates

Doesn't authenticate anything

Your 'authentication' is simply a test of someone being able to obtain or a buy a certificate. Once. Nothing more.

Then why?

  • We already buy certificates for our websites.
  • Public CAs are “trusted everywhere”, so partners 'don’t need to install anything' (except they never needed to install anything anyway!)
  • Running your own CA sounds hard.
  • For years, the same certificate could do both jobs.
  • It's easy, and people like easy. Call it laziness, call it convenience - we're all guilty of wanting something we don't have to put thought into.

Client certificate authentication does work

Enterprises doing device authentication using MDMs, InTune, JAMF and more

It works and works well

...from a private CA!

IF YOU ARE AUTHENTICATING USERS OR CLIENTS OR CUSTOMERS TO YOUR SYSTEMS - YOU HAVE TO ISSUE THE CERTIFICATE.

“Trusted by everyone” means anyone

Point your server at the public trust store and it accepts a certificate from any of well over a hundred CAs.


ssl_verify_client      on;
ssl_client_certificate /etc/ssl/certs/ca-certificates.crt;
  • Your partner
  • Their supplier
  • Anyone on the internet
  • ✓ Anyone with a free cert for evil.example

It identifies the wrong thing

What a public cert says

api.partner.com

“Whoever got this controlled that domain on the day it was checked - and still controls it, because it's checked every single connection”

What you actually need to know

Which system, which customer, which permissions?

Public CAs don’t check — or record — any of that.

You don’t control the CA

  • Lifetimes are shrinking — towards 47 days by 2029. Every renewal is a chance for client auth to break.
  • Roots and CAs rotate — the trust-store you curate might not be up-to-date, but the CA is.
  • CAs get distrusted — when a browser drops a CA, your clients go with it.
  • Revocation is on their terms — a mis-issuance incident can revoke your client certs at short notice.
  • Issuance isn't on your terms — you have no control and no say in how information is validated, and who certificates are issued to.
  • CAs are shared — a single CA could be shared with millions of users, none of which you know or authorize.

The rules are written for browsers, not for you

Public CAs follow root store policy.

Root stores care about one thing: people visiting websites.

Your machine-to-machine traffic is an afterthought — and now, out of scope.

X9 PKI is no better

...perhaps worse!

With X9 PKI - you are trusting them, with no control over what certs are issued to who.

It isn't regulated the same or as well as public CAs with no oversight (no Mozilla or Google or Apple to keep them in-check), and it's a single-vendor solution.

...and they're taking backward steps in security, like re-introducing 3-year certs!

And it’s ending anyway

  1. CAs drop client auth from certificates by default
  2. Chrome: new public intermediate CAs must be server-auth only
  3. Let’s Encrypt retires its client-auth option entirely

Individual CAs set their own dates inside these limits — check your CA’s notice.

Where it’s probably hiding in your estate

  • B2B APIs
  • Payment and banking gateways
  • Server-to-server authentication
  • VPNs
  • Wi-Fi (EAP-TLS)
  • SIP trunks
  • IoT devices
  • mTLS
  • Partner webhooks
  • Database connections

What to do instead

Run a private CA for client auth

You decide who gets a certificate, what it says, and when it expires.

Automate everything

Short-lived certs issued by machines, for machines: ACME, EST, SPIFFE.

Or don’t use certs for identity

Signed tokens (OAuth, JWT), optionally bound to a TLS key.

FAQs

  • Can I not just keep doing this? — No. Short lifetime certs, MTCs and Chrome's banning of it mean it simply won't work anyway. Get a private CA.
  • My bank or government service require it. — They're bad and should feel bad. It's security theatre. Send them this website, hope they learn in time.
  • Can I not just have a cert with clientAuth in? It's easy! — Easy isn't safe. Easy isn't good. You need to put some effort in to get the secure outcome you desire - and it may not even be with PKI. People can help if you ask.
    There also won't be anything that's a 'trusted client auth cert' in the future - the smart folks at the trust programs (Apple, Google, Microsoft, Mozilla) also know it's a bad idea and won't support it. X9 PKI is also really, really not the answer. It's worse.

Summary

  • Client Authentication with public certificates is not authentication
  • It's insecure, but very convenient
  • It stops in 2027 anyway
  • Move to a private CA as soon as you can.

Feel a bit better now?