At the end of March, a routine penetration test report landed on my desk, and a single line on page 14 changed that quarter's priorities: from an ordinary pod they had compromised in the staging cluster, the test team had been able to send requests to the payment service's internal API without any authentication whatsoever. Things weren't any different in production: the inside of the cluster was considered to be inside the trust wall. Our perimeter security was solid — WAF, API gateway, network policies — but for anyone who got past the shell, the inside was an open buffet. Authentication happened "at the edge," and sixty-odd microservices trusted each other blindly. Under that line of the report I jotted a single note: "Shell security is like shellfish; once the shell cracks, everything is exposed." That week, we kicked off the mTLS project.
Turning the Zero Trust Slogan into a Package
"Zero trust" is the most worn-out term of recent years; we boiled it down to a single engineering sentence: on every service call, the caller and the callee cryptographically verify each other's identity, and the traffic is encrypted — even inside the cluster, with no "internal network" exemption. The standard tool for this is mTLS: the variant of classic TLS in which the client presents a certificate, too. It sounds simple; but with 60 services, three languages (PHP, Node.js, Java) and tens of thousands of internal calls per second, you face three big questions. Who will issue and rotate the certificates? Who will handle TLS termination — the application or the infrastructure? And what will all of this do to latency?
There's no shortcut on the first question: distributing certificates by hand across 60 services is an idea that's dead on arrival. Identity has to be automatic and short-lived. On the second question, there were two paths. mTLS inside the application — with each language's own TLS stack — meant three separate implementations and three separate failure surfaces in our polyglot reality; I knew from my IoT days that embedding certificate management in application code turns every certificate event into a deployment event. A service mesh, on the other hand, moves this job to sidecar proxies: the application speaks plain HTTP, the proxy inside the pod speaks mTLS to the outside, identities are generated automatically in SPIFFE format (spiffe://cluster/ns/payments/sa/payment-api), and rotation happens hourly. We chose the mesh; when comparing candidates, our priority wasn't feature richness but operational simplicity and resource cost. For workloads that couldn't join the mesh right away, such as the PHP monolith, we also drew up a transition plan: their traffic is wrapped in mTLS at the gateway on the mesh boundary.

The Wrong Fear, the Right Fear
When we started the project, the team's biggest fear was latency: "If a TLS handshake gets added to every call, p99 will be ruined." That fear turned out to be largely unfounded — connections are pooled and long-lived, so the handshake happens per connection, not per request. We measured it: on the sidecar path, the added latency per request was 0.7 milliseconds at the median and 2.1 milliseconds at p99. Even on the order path, which sees 2 thousand requests per second, that was within our budget. The real cost came from where we didn't expect it: memory. A sidecar on every pod meant 60-90 MB of RAM each; in a 1,400-pod cluster, that added up to more than 100 GB of extra memory and a drop in pod density per node. That was a visible line item on the cloud bill, and nobody mentions it in presentations. Partly by pruning the proxy configuration (turning off filters we didn't use), we brought the sidecars down to around 45 MB; the rest we filed next to the penetration test report and accepted as security budget.
The second unexpected lesson: turning on mTLS solves authentication, but it doesn't automatically solve authorization. In the first phase we were in "everyone talks mTLS with everyone" mode — encrypted, but still an open buffet; it's just that you now show ID on your way in. The real gain came in the second phase: authorization policies. Only order orchestration and the refund service may access the payment service's internal API; the invoicing service can write to the data warehouse but can't call the payment service. Writing these policies turned out to be more archaeology than technical work: who actually calls whom? We extracted the answer from our tracing infrastructure — generating a service call matrix from four weeks of trace data and rolling out the policies first in "observe but don't block" mode. Good thing we did: the first policy draft would have starved to death three batch jobs that run once a month and that nobody remembered. Four weeks of observation wasn't enough to catch the monthly jobs; we extended the trace window to 6 weeks and found two more exceptions. We turned on enforcement service by service, starting with the riskiest one (payments); we reached full coverage in eight weeks.

The Right Dose of Paranoia About Certificates
A reflex I carried over from the IoT side saved the day here too: testing the rotation itself with drills. The mesh rotates workload certificates hourly — that part is automatic and painless. The danger lies higher up the chain: the mesh's root CA and the intermediate CA beneath it. Rotating those is a "once a year" kind of event, and for exactly that reason it's the kind of operation everyone forgets, whose documentation goes stale, and whose last executor has left the company. We ran the intermediate CA rotation three times as a drill in staging, and in the second drill we caught a beautiful bug: if the old certificate chain was invalidated before the PHP gateway's trust store had picked up the new intermediate CA, all traffic coming from the monolith was rejected for 40 seconds. In production, that would have meant a full outage at the lunchtime peak. We locked the procedure into the order "first add trust for the new root, then sign with the new root, remove the old one last," and put a verification step between each step. Outages caused by expired certificates are such an industry classic that the biggest font on our dashboard belongs to this metric: "nearest CA expiry date: X days." If X drops below 30, a critical alarm goes off.

Then there's the observability chapter: once mTLS was on, debugging with tcpdump at the network level was effectively over — everything is encrypted. The compensation is the rich telemetry the proxies produce: which identity called which identity, what the TLS version was, what the policy rejected. Every rejected call is now visible in Grafana by identity, and in the first month this panel served as a guardrail: two new deployments had gone out with the wrong identity because of a missing ServiceAccount and hit the policy wall; both were caught from the panel before any customer impact.
No More Shell Within a Shell
Today 97 percent of our production traffic flows over mTLS (the remaining 3 percent is two legacy integrations scheduled for retirement; they live in a separate network segment), and in the next penetration test the same scenario — reaching the payment API from a compromised pod — was rejected at the policy layer, leaving three separate log trails. I didn't have that sentence in the report framed, but I was tempted. Bringing zero trust down to microservices doesn't end with buying a product or installing a mesh; it ends when each of the four — identity, policy, rotation and observability — has an owner. Or rather, it never ends; it turns into a process you operate. If you're living with the assumption that "the inside counts as safe" in your own cluster and don't know where to start, get in touch with me; I'll share our method for building a call matrix and our phased migration plan. The first step isn't installing a mesh; it's learning who calls whom — and nobody, ourselves included, knows that by heart.
At the closing meeting, we joked with the lead of the penetration testing team: "So what do you do now when you compromise a pod?" His answer felt like a summary of the whole project: "We sit there generating logs. There's nothing else we can do."