by cloudfudge · 4d ago · 0 comments
Now if you're going to use mTLS as the basis for mature authn/authz, that's a different story. But I never see anyone do that.
If the operator wants to provide admin access after mTLS is established as you described, then that may be a design decision, but that’s not on mTLS fault and the same can be said about other forms of identity authn (password, certificates, biometric, etc)
The tool (authn a la mTLS) is working as intended.
Let’s use JWT OIDC token as another example of a technology used to provide authn. The JWT has standard structure for sending authenticated claims about a user (such as subject ID, email, email verification state, scopes) that can subsequently be used by an authz layer after authn is completed. My point isn’t that OIDC is better than mTLS, but that the design makes it clear to handoff to the authorization layer so there is less ambiguity about what to do after authn.
If I told you not to use a power drill as a hammer, you wouldn't claim I'm saying the power drill is at fault for being a bad hammer.
mTLS prevents connecting to the application without valid cert.
Sure the reverse proxy handling the mtls can be exploited, but so can any VPN server as well.