r/selfhosted
•
u/NikStalwart
•
Aug 18 '25
•
1
Security Let's Encrypt certificates will no longer be usable for client authentication starting 13 May 2026
Source: https://letsencrypt.org/2025/05/14/ending-tls-client-authentication
TL;DR: TLS certificates have specified "Extended Key Usages". Currently, Let's Encrypt certificates can be used for Server Authentication and Client Authentication 1. In another instance of "Google ruins everything", Google's new requirements to certificate authorities require separate authority/signing chains to be used to issue Server Authentication and Client Authentication certificates. Therefore, starting 11 February 2026, Let's Encrypt will no longer include the Client Authentication EKU on default certificates (you can still request an alternate endpoint until 13 May 2026, after which the EKU will no longer be available).
Why you should care: using TLS client authentication was a cheap and easy way to create a poor-man's VPN and skip adding an authentication layer between web apps/servers. For instance, say you had two nginx servers with publicly-facing Let's Encrypt certs. Server A could use its certificate to prove its identity to Server B in the same way that it proved its identity to clients. Server B would then be able to expose things like dashboards and metrics and API endpoints to Server A in a relatively secure way [2].
What you can do: there's nothing you can do to stop this, because 60% of the web uses Chrome for some insane reason and therefore Let's Encrypt won't revert the change. If you still want to use TLS client authentication within your own network, you should look into setting up your own private /self-signed certificate authority. It won't be trusted by default, but that's not a problem, because you can add your CA's public keys to the servers you manage. If you are used to using fee TLS certificates for client authentication on websites/apps that require it and where you don't have access to the trust store, you're SOL and will need to start paying.
X509v3 extensions:
X509v3 Key Usage: critical
Digital Signature, Key Encipherment
X509v3 Extended Key Usage:
TLS Web Server Authentication, TLS Web Client Authentication
X509v3 Basic Constraints: critical
CA:FALSE[2]: Of course there were risks with this method, which is why I called it a 'poor man's VPN'. If you lost control of your domain, or your domain validation mechanism (i.e. your webserver got pwned and someone was able to validate Let's Encrypt certificates on your domain) while you used client certificates as the main authentication method, the attacker could get access to your network fairly easily. Additionally, if a rogue but trusted CA (like WoSign) was to generate certificates for your domain, state-backed attackers could still authenticate to your server - unless you were running DNS CAA records which whitelisted allowed certificate authorities for your domains.
But, on the whole, this was fun while it lasted. If all you wanted to do was encrypt and authenticate HTTP/WS traffic, you could set up a closed network with no more configuration than was needed to get your servers up and running. You also didn't need to worry about internal trust /PKI schemes, because you outsourced trust to Let's Encrypt.
416
u/neurostream Aug 18 '25
I had no idea this was happening. Great heads-up post!
Are there any other free ACMEv2 CA's out there to split client and server auth/ID? LE has been a godsend
302
u/Slight-Valuable237 Aug 18 '25 edited Aug 18 '25
You really should never do Mutual TLS with a public signed client certificate to begin with.
With your VPN scenario, if you were trusting the Let's Encrypt CA for VPN client authentication. It would mean any client cert signed from Let’s Encrypt could authenticate to your VPN/Device. (Like you mentioned, you lose control of your domain, someone could impersonate your device. However, any cert would be authenticated if signed by the same Certificate Authority.
If you were statically trusting the individual Let’s Encrypt certificates in you possession (e.g. only allow a specific CN), you could do the same with self-signed certificates without the risk of other CA signed certificates.
You're far better off just standing up a CA via Microsoft Certificate Authority or OpenSSL to use for your client certs. It is not much of a heavy lift once you set it up, and can be automated via ACME.
Mutual TLS should be independent of what your server uses for public facing services. EG SSL VPN, use a Let’s Encrypt server certificate for the service, but then do a private signed identity certificate for MTLS on the client.
TL/DR , yeah it’s a PIA, but its best practices to use private CAs for MTLS... aka client authentications. I have seen far too many customers/people mistakenly open their network/vpn to the millions of LE certs :)
65
u/Bjeaurn Aug 18 '25 edited Aug 18 '25
Nice heads up and good PSA. Might be good to add a short summary or disclaimer that for regular HTTPS site security this will not be affected?
30
u/Cley_Faye Aug 18 '25
My two reactions to that are "this was possible?" and "why would anyone delegate authentication in their system to a third party".
If you want to do auth between systems you control, it is extremely easy to setup something that's under your control, will automatically update/renew, etc.
On the contrary, relying on a third party that do some DNS verification for authentication certificate inside your infra is giving them the key to do whatever. Seems like a bad idea to begin with.
15
u/GolemancerVekk Aug 18 '25
For those looking to get into mTLS (aka client certificates):
Here's a concise guide to get your started making your own CA and client certs. It includes an example of how to start asking for certs for an Nginx (or NPM) proxy host.
If you need to combine the client cert condition (in Nginx) with something else you can set "ssl_verify_client" to "optional" and if the check passes the variable $ssl_client_verify will contain "SUCCESS". You can combine this with a user agent check for example, or redirect the client to different pages if they don't have a cert etc. By default Nginx will simply issue a 4xx HTTP error.
The mobile apps for the services you host need to support client certs! This is not the case for all apps, unfortunately, and some of them use the certs in different ways. DAVx5 needs you to load the cert in the Android system settings and will let you pick it from the list available there. Immich needs to be given the cert file directly. Firefox needs to access the cert file on a website so it can load it (this is the mobile version, the desktop version lets you load it in the certificate settings).
Many apps don't support client certs at all. Request this feature from the ones you use!
Some apps support setting custom HTTP headers, or at least customize one predefined header, which you can use to send a long random key. Not quite the same as a client cert but not a bad alternative.
Here's how (in a NPM proxy host "Advanced" tab) to let a client pass if it has a client cert OR a specific header, but block if it has neither:
59
u/froli Aug 18 '25
People gotta use Firefox/Safari ASAP. This is how Google is controlling the web. Chromium drops support for one thing and the whole web has to adapt to it.
15
u/angelicosphosphoros Aug 18 '25
This is why we need to separate Google and Chrome. Their combined monopoly is too strong.
7
u/niemand112233 Aug 18 '25
The normal certs with certbot aren’t affected, right?
3
u/Simon-RedditAccount Aug 18 '25
A side question: did I read it correctly that this requirement (separate chains) is only mandated for Google Chrome’s root program? So all the privately-trusted PKIs (aka your own) that issue both client and server certificates from the same subCA will remain unaffected and mTLS will work in Chrome without any changes required?
3
u/cptdrewski Aug 18 '25
I just recently got Traefik set up with LE certificates (only using it for internal services), so will I need to use something else? Sorry if this has been answered (still very much a novice)
3
u/64mb Aug 18 '25
I assume this doesn't affect using LE Certs for server auth and using self signed for the client auth?
Nginx example:
3
u/g333p Aug 18 '25
So, pretend I don't know all that much about this stuff.. what does this mean for my home server running traefik/jellyfin(for LAN only), which currently gets LE certificates so I can use https and domainnames instead of ip addresses to access my services?
23
u/Andrew_St Aug 18 '25
You should have added this line from the original post to avoid confusing people.
"Most users who use Let’s Encrypt to secure websites won’t be affected and won’t need to take any action."
17
u/[deleted] Aug 18 '25
I work for a commercial certificate authority as a tech support agent, and I've been dying to share my thoughts on this.
Certificate authorities / CAs in general are bound by the rules of the CA/Browser forum. Almost every CA and browser provider form this consortium to vote on the future of the web PKI.
This change did NOT go through a CA/B vote and completely circumvented that democratic process.
Google Chrome has so much market share that they were able to unilaterally demand that every CA stop issuing TLS certificates with the client authentication EKU enabled, else their certs will be distrusted.
There is a process for making global changes to the way SSL certificates are issued, and Google disregarded it completely. At least in the 4ish years I've been working here, I've never seen them flex their influence like this.
13
u/OMGItsCheezWTF Aug 18 '25
I can still issue my own self-signed client certificates for mTLS clients though. The client doesn't need to have my root certificate in their trust store to use a cert I have issue for authentication right?
4
u/kokx Aug 18 '25
As a penetration tester I am very happy this is happening.
Almost every time I got a "client certificate" from one of my customers, it basically is a valid server certificate for <application>.<tld>. Often they even order the certificate from a CA that requires you to pay for the cert!
This would make sure that isn't going to happen anymore, so I'm quite happy with that.
4
u/Encrypt-Keeper Aug 18 '25
This is largely a non-issue since if you’re using MTLS as a “poor-man’s VPN” then you should be signing and issuing the cert yourself.
1
u/rocket1420 Aug 30 '25
Only 60% use Chrome? Or do you mean Chrome proper? The only real Chrome competitor is Firefox. Well and I guess whatever Macs have by default. And iOS. Okay maybe that's not so hard to believe.
Edit: thanks for the 12 day old recommendation reddit.
3
u/well-litdoorstep112 Aug 18 '25
ELI5?
3
u/[deleted] Aug 19 '25
There has NEVER been a reason for conflating certificate purposes- ex, via EKU — except for “oh, that’s much easier!”
Server certificates and client certificates are just different enough in application that it doesn’t make any sense, whatsoever, to put them on a single certificate.
Google doing Google things notwithstanding, separating client from server certificates shouldn’t have been necessary because they never should have been configured as such, and definitely not by default.
However… however, if we put this alongside “validity period constrained to one month plus a little overhead”… I can’t help but wonder.
And I also wonder why we’re just quietly accepting Google shenanigans like that. So now all web sites are no longer trustworthy when using a chromium based browser? Tough. People are going to complain- loudly— and can then collectively be directed to either open a ticket with google, or to use another browser.
The problem isn’t Google dictating things. The problem is we’re letting them.
2
u/meepiquitous Aug 18 '25
Sounds like the Fritzbox, a popular brand of routers in Germany, could be affected by this.
5
u/ocdtrekkie Aug 18 '25
Yet another day in Google making PKI incompatible with the real world. On the upside, soon you won't need a PKI cert because nobody will bother with them anymore.
1
u/Guinness Aug 18 '25
This is why I switched to Firefox. At this point, Google is the enemy.
1
u/Zinavo786 Aug 21 '25
Starting 13 May 2026, Let's Encrypt certificates can no longer be used for client authentication. They will still work for securing websites via HTTPS.
1
u/samangdauth Aug 22 '25
I don’t think why it was happening, most of users are using Let’s Encrypt.
1
u/[deleted] Sep 01 '25
If your servers are meant to be used only by yourself/your family members (btw we're on r/selfhosted for a reason!), then spin up your own CA and don't delegate trust to anybody.
There are many CAs you can selfhost (EJBCA community edition, STEP CA, mkcert). Then, trust your own CA on all of your browsers/trust stores, and be done with this.
It doesn't even need to run all the time, but to avoid disruptions set up a notification for you to avoid letting your certificates to expire
-67
u/SirSoggybottom Aug 18 '25 edited Aug 18 '25
Months old "news"... okay
Edit: Oh no! Some downvotes from dupe accounts!!1 Ahhhhh and how do i even dare to reply in a negative manner to a mod of this sub!!1
0
u/[deleted] Aug 18 '25
[deleted] — view deleted comment
0
u/[deleted] Aug 18 '25
[deleted] — view deleted comment
0
u/[deleted] Aug 18 '25
[deleted] — view deleted comment
0
u/[deleted] Aug 18 '25
[deleted] — view deleted comment
0
u/[deleted] Aug 18 '25
[deleted] — view deleted comment