mTLS Handshake with X.509-SVIDs
How do two workloads authenticate each other with X.509-SVIDs?
Mutual TLS authentication between two workloads using X.509-SVIDs as client and server certificates (SPIFFE X.509-SVID spec §5). Both services present their SPIFFE-issued certificates and verify the peer's certificate against the SPIFFE trust bundle (not system CAs). After cryptographic verification, each side extracts the peer's SPIFFE ID from the URI SAN and performs authorization based on the identity. This provides authentication, encryption, and integrity in a single handshake.
Mutual TLSZero Trust
Sequence Diagram
Click any step for details
Request
Response
Redirect
Internal
Step-by-Step Breakdown
1
Client Hello
Client Service → Server Service
2
Server Presents X.509-SVID
Server Service → Client Service
3
Server Requests Client Certificate
Server Service → Client Service
4
Client Presents X.509-SVID
Client Service → Server Service
5
Mutual Certificate Verification
Both Services → Trust Bundle
6
SPIFFE ID Authorization
Server Service → Authorization Policy
7
Encrypted Channel Established
Client Service → Server Service
Token Inspector
Specs for this flow
Sections of the protocol that normatively define this flow, plus the security considerations that apply to it.