What is mTLS (Mutual TLS), and why is it used for service-to-service communication?
Last updated
mTLS (Mutual TLS) is TLS where both client and server present and verify X.509 certificates, so each side proves its identity (regular TLS only authenticates the server).
For service-to-service traffic it encrypts internal calls and gives each service a strong cryptographic identity instead of trusting IPs, enabling policies like "only certs from our CA may call this service".
It needs a CA with automated short-lived cert rotation, usually handled by a service mesh (
Istio,Linkerd) via sidecars with no app code changes.
- https://www.geeksforgeeks.org/system-design/top-microservices-interview-questions/
- https://www.geeksforgeeks.org/system-design/microservices-resilience-patterns/
- https://medium.com/@RichaShukla2111/saga-pattern-a-practical-guide-to-distributed-transactions-in-microservices-f4f0f27755f0
- https://dev.to/athulmr/making-rest-microservices-resilient-bulkhead-retry-circuit-breaker-in-practice-1mpl
- https://blog.bytebytego.com/p/6-more-microservices-interview-questions