Interview Security & DevSecOps

What is mutual TLS, and where would you use it? [Advanced]

Answer

Mutual TLS means both client and server present certificates and authenticate each other. I use it for service-to-service communication, internal APIs, high-trust admin endpoints, and zero-trust environments where server-only TLS is not enough.

Technical explanation

Normal TLS authenticates the server to the client; mTLS authenticates both directions.

mTLS gives strong workload identity when certificates are issued and rotated safely.

A service mesh such as Istio can automate certificate issuance, rotation, and policy enforcement for mTLS between pods.

Hands-on example

Example: enable Istio STRICT mTLS for the payments namespace. Calls from checkout to payments carry a client certificate representing the checkout service account. Payments accepts only authorized identities and rejects plaintext or unknown workloads.

Preparing for an interview?

Check how well your resume matches the role with our free resume checker— match score, ATS check, and the skills you're missing.

More Security & DevSecOps interview questions

← All Security & DevSecOps questions