Menu

How mTLS Gets Bypassed in Real Code
📰

How mTLS Gets Bypassed in Real Code

DEV Community: appsec·Stefan·4 days ago
#ywSBsRU5
#devtoappsec#devto#dev#certificate#client
Long article (1222 words) — no AI summary yet.
Reading 0:00
15s threshold

Mutual TLS (mTLS) sounds bulletproof on paper. Standard HTTPS checks that your browser reached the right server. In mutual TLS, both sides exchange certificates and prove key ownership during the initial handshake Istio mutual TLS guide .

Teams often assume that once mTLS is configured, unauthenticated callers cannot reach their application. But real-world bypasses almost never involve breaking cryptography or stealing private keys. Instead, callers slip through gaps between TLS handshakes, reverse proxy headers, and application handlers.

The Two Gates

To see why mTLS fails, split your security boundary into two gates.

Gate 1 is transport authenticity. Did the client complete a valid handshake with a certificate signed by your trusted Certificate Authority (CA), and did it prove key ownership?

Gate 2 is application authorisation. Is this specific client permitted to call this specific endpoint?…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.