1. [Home](https://quorumauth.com/) /
2. [Learn](https://quorumauth.com/learn/) /
3. What is mTLS?

Learn · QuorumAuth

# What is mTLS?

> Mutual TLS makes both client and server present certificates, so each side proves its identity before any data flows. How it works and where it fails.

Mutual TLS, or mTLS, is TLS in which both the client and the server authenticate with certificates.

Updated October 24, 2026

Ordinary HTTPS is like a shop showing you its licence before you pay, while you stay anonymous. Mutual TLS means both sides show an ID card, and each must prove the card is really theirs by doing something only the owner's secret key can do. A photocopy of someone's card is useless without that key.

On this page

1. How mTLS works
2. mTLS vs TLS at a glance
3. Where mTLS fits
4. Pitfalls
5. How QuorumAuth handles mTLS

The mutual part of a TLS 1.3 handshake

1. 1 Client → Server ClientHello
2. 2 Server → Client Its certificate, asks for yours CertificateVerify proves the server's key
3. 3 Client → Client Check server chain
4. 4 Client → Server Client certificate and proof CertificateVerify needs the private key
5. 5 Server → Server Check chain and identity
6. 6 Client → Server Encrypted data, both ways

The client sends ClientHello. The server sends its certificate with a signature proving its key, and requests a certificate from the client. The client verifies the server's chain, then sends its own certificate and a CertificateVerify signature. The server verifies the client's chain against the roots it trusts and checks the client identity against its policy. Encrypted data then flows both ways.

A client cannot produce its CertificateVerify without the private key, so a copied certificate alone gets nowhere.

Ordinary TLS, the protocol behind HTTPS, answers one question: is this really the server I meant to reach? The server presents a certificate, the client checks it, and the client stays anonymous at the transport layer. Mutual TLS adds the reverse check. The server also requests a certificate from the client, so by the end of the handshake each side knows who the other is.

## How mTLS works

In TLS 1.3 (RFC 8446) the handshake runs like this, with the mutual part marked:

1. The client sends `ClientHello` with its supported ciphers and key shares.
2. The server answers with `ServerHello`, then, encrypted: **a `CertificateRequest`**, its own `Certificate`, a `CertificateVerify` signature proving it holds the matching private key, and `Finished`.
3. The client verifies the server’s certificate chain.
4. **The client sends its own `Certificate` and a `CertificateVerify` signature**, then its `Finished`.
5. **The server verifies the client’s chain against the roots it trusts** and checks the client identity against its policy.
6. Encrypted application data flows in both directions.

Step 4 is what proves identity. A client cannot produce `CertificateVerify` without the private key that matches its certificate. Copying the certificate alone is useless.

### Trying it with curl

```
curl --cert client.pem --key client.key \
     --cacert ca.pem \
     https://ledger.internal.example/health
```

The server, for its part, is configured with the CA it trusts for client certificates and a rule for which client identities it accepts.

## mTLS vs TLS at a glance

|  | TLS | mTLS |
| --- | --- | --- |
| Server authenticated | Yes | Yes |
| Client authenticated | No (left to the application) | Yes, by certificate |
| Client needs a private key | No | Yes |
| Typical use | Browsers to websites | Service to service, devices, partner APIs |
| Operational cost | One certificate per server | One certificate per client too |

## Where mTLS fits

**Service-to-service traffic.** This is the main use today. Each service holds a short-lived certificate naming its identity, often a [SPIFFE](https://quorumauth.com/learn/what-is-spiffe/) ID carried in an [X.509-SVID](https://quorumauth.com/learn/what-is-an-svid/). Services authorize peers by that identity instead of by IP address, which is a core step toward [zero trust authentication](https://quorumauth.com/learn/what-is-zero-trust-authentication/).

What sits under a service-to-service call

1. Application data

   Encrypted requests in both directions

2. Peer authorization

   Allow or refuse by identity, not IP address

3. mTLS handshake

   Each side proves it holds its private key

4. Certificate

   Short-lived, often an X.509-SVID naming a SPIFFE ID

5. Trust root

   The CA each side checks the other's chain against

Five layers from top to bottom. Application data flows encrypted both ways. Authorization allows or refuses the peer by its identity, not its IP address. The mTLS handshake has each side prove it holds its private key. The certificate is short-lived and often an X.509-SVID naming a SPIFFE ID. The trust root is the CA each side checks the other's chain against.

Peers are allowed by the identity in a verified certificate, not by their IP address.

**OAuth client authentication.** RFC 8705 defines two uses of mTLS in OAuth 2.0: authenticating a client to the token endpoint with its certificate, and binding issued access tokens to that certificate so a stolen token is useless without the key.

**Devices and partners.** IoT devices and B2B integrations use client certificates where a shared API key would be too easy to leak.

mTLS is one option among several. [Machine-to-machine authentication methods, compared](https://quorumauth.com/learn/what-is-machine-to-machine-authentication/), shows where API keys, client assertions and tokens fit instead.

## Pitfalls

- **Trusting the whole CA.** If any certificate from your internal CA is accepted, every workload can call every other. Check the peer identity, not just the chain.
- **Reading the wrong field.** Authorize on the URI or DNS subject alternative name your scheme defines, not on the Common Name.
- **Long-lived certificates.** A one-year client certificate is a one-year secret. Automate issuance and rotate in hours or days.
- **Rotation that breaks connections.** Clients should pick up a renewed certificate on their next connection, and servers should accept peers issued under a new root during a rotation window.
- **TLS termination in the middle.** A load balancer that terminates TLS ends the mutual authentication there. Either re-establish mTLS to the backend or carry identity in a signed token.
- **Plaintext fallback.** A client that silently retries without TLS when the handshake fails defeats the purpose.

## How QuorumAuth handles mTLS

QuorumAuth uses mTLS between workloads and toward its own services, with certificates issued by its SPIFFE authority. In its tested behaviour:

- A cross-node mTLS handshake succeeds under the shared trust root, and a certificate from a foreign root is rejected.
- The mTLS client presents the rotated workload identity on its next connection, and servers accept peers issued under a rotated trust root.
- A peer is derived within the caller’s own organization; a peer path cannot choose a different organization.
- The SDK’s managed workload transport refuses a plaintext connection to QuorumAuth, refuses a QuorumAuth name in another trust domain, and refuses a different service name in its own organization.
- An mTLS-terminating sidecar lets an application send plaintext over loopback while the sidecar presents its live identity to the upstream. gRPC traffic negotiates HTTP/2 through it.
- A workload can obtain a scoped access token over mTLS; a client certificate the server does not trust is refused at that step.

Together, these give you [zero trust service authentication, where every call carries an attested identity](https://quorumauth.com/solutions/zero-trust-service-authentication/).

## Frequently asked questions

What is the difference between TLS and mTLS?

In ordinary TLS only the server presents a certificate. In mTLS the server also asks the client for one, and both sides verify each other.

Does mTLS replace access tokens?

No. mTLS authenticates the connection. Tokens carry scopes and survive hops that terminate TLS. Most systems use both.

Is mTLS the same as zero trust?

mTLS is one building block. Zero trust also needs per-request authorization, short-lived credentials, and continuous verification.

Why do mTLS rollouts fail?

Usually certificate lifecycle. Manual issuance and rotation do not scale; automated short-lived certificates do.

## Related reading

[Learn QuorumAuth What is SPIFFE?SPIFFE gives every workload a verifiable identity, so services authenticate each other with short-lived certificates instead of shared secrets.Read](https://quorumauth.com/learn/what-is-spiffe/) [Learn QuorumAuth What is an SVID?An SVID is the short-lived document that proves a workload holds a SPIFFE ID. Learn how X.509-SVIDs and JWT-SVIDs work and when to use each.Read](https://quorumauth.com/learn/what-is-an-svid/) [Learn QuorumAuth What is zero trust authentication?Zero trust authentication verifies every user and workload on every request, instead of trusting the network. Principles, architecture and pitfalls.Read](https://quorumauth.com/learn/what-is-zero-trust-authentication/) [Learn QuorumAuth What is machine-to-machine authentication?Machine-to-machine authentication lets services prove who they are to each other. Compare API keys, client credentials, JWT assertions and mutual TLS (mTLS).Read](https://quorumauth.com/learn/what-is-machine-to-machine-authentication/) [Learn QuorumAuth What is workload identity?Workload identity lets software prove who it is from where and how it runs, so services stop sharing static API keys and passwords.Read](https://quorumauth.com/learn/what-is-workload-identity/)

## Talk to sales about QuorumAuth.

QuorumAuth is sold through our sales team. The Build page shows the drop-in sign-in on your origin and how to reach sales about your stack.

[Go to Build and contact sales →](https://quorumauth.com/onboarding/)
