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.
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
- What is certificate management, and how do tools like cert-manager help? [Advanced]
- What is the difference between symmetric and asymmetric encryption? [Advanced]
- What is the difference between authentication and authorization? [Advanced]
- What is encryption at rest versus in transit, and how do you ensure both? [Advanced]
- What are Linux capabilities, and why drop them in containers? [Advanced]
- What is secrets management, and how does HashiCorp Vault work at a high level? [Intermediate]
- What are Kubernetes Pod Security Standards (privileged, baseline, restricted)? [Advanced]
- How do you apply least privilege to service-to-service communication (e.g., with Istio mTLS)? [Intermediate]