# mTLS (Mutual TLS): How It Works, with Diagram

DevFeed: [mTLS (Mutual TLS): How It Works, with Diagram](<https://devfeed.tech/articles/mtls-mutual-tls-how-it-works-with-diagram-83356.md>)

Original publisher: [Read original article](<https://ngrok.com/blog/what-is-mtls>)

Author: Team ngrok

Published: 2024-06-06T00:00:00Z

Content type: tutorial

Language: en

Sources: [\[ngrok news\]](<https://devfeed.tech/sources/ngrok-news.md>)

Topics: [TLS (Transport Layer Security)](<https://devfeed.tech/topics/tls.md>), [TLS handshake](<https://devfeed.tech/topics/tls-handshake.md>), [zero trust network access](<https://devfeed.tech/topics/zero-trust-network-access.md>), [Certificate Transparency](<https://devfeed.tech/topics/certificate-transparency.md>), [AWS Certificate Manager](<https://devfeed.tech/topics/aws-certificate-manager.md>)

Tags: [authentication](<https://devfeed.tech/tags/authentication.md>), [handshake](<https://devfeed.tech/tags/handshake.md>), [mtls](<https://devfeed.tech/tags/mtls.md>), [mutual-tls](<https://devfeed.tech/tags/mutual-tls.md>), [ngrok](<https://devfeed.tech/tags/ngrok.md>), [tls](<https://devfeed.tech/tags/tls.md>), [traffic-policy](<https://devfeed.tech/tags/traffic-policy.md>)

## AI overview

mTLS extends TLS by requiring both sides of a connection to authenticate with certificates. This guide explains the handshake, certificate issuance and lifecycle management, use cases such as service-to-service communication, and configuring mTLS on an ngrok endpoint. It also discusses trade-offs including operational complexity and handshake latency.

## Source excerpt

What is mTLS and how does mutual TLS work? A clear guide to the mutual TLS handshake, with a step-by-step diagram, real use cases, and setup with ngrok.