// glossary

mTLS (Mutual TLS)

mTLS is TLS where both the client AND the server present certificates, so each authenticates the other.

Standard TLS authenticates the SERVER to the client (your browser confirms it's really talking to bank.com). mTLS adds the inverse: the client also presents a certificate, and the server verifies it. The result is mutual authentication without passwords or API keys.

Use cases: service-to-service auth inside a Kubernetes cluster (Istio uses mTLS by default), banking API integrations, IoT device authentication. Less common in browser-facing apps because client certificate management is a UX nightmare.

Tunneling mTLS through a reverse-tunnel service is awkward — the tunnel terminates TLS at the edge and re-establishes a separate TLS connection to your origin. The client cert presented to the edge isn't visible to your local server. For mTLS dev work, run the server publicly with a real cert.

// shipping?

lrok gives your localhost a public HTTPS URL with a reserved subdomain on the free plan. Useful when this term comes up in a real integration:

$ curl -fsSL https://lrok.io/install.sh | sh
$ lrok http 3000

← all glossary terms