Book 3 · Lesson 3.10 · recap
Book 3 capstone — mTLS between services
- Run gateway with MILLIPEDE_MTLS=1
- Complete JWT + mTLS + WASM redaction rubric
- Self-grade Book 3 security checklist
Prerequisites: 3.1 · 3.4 · 3.6 · 3.9
You finished Book 3 — Security & Privacy. Prove the full security shell.
Rubric (self-grade)
| Criterion | Pass? |
|---|---|
| Zero-trust layers named | |
| JWT mint + curl with Bearer | |
| mTLS certs generated and verified | |
| WASM redaction on 1:1 portal | |
| Slack signature concept | |
| Manager scope enforced |
Principle: never trust, always verify — even inside compose.
1
ClientHello
Gateway proposes TLS 1.3 + cipher suites2
ServerHello + cert
Gateway presents dev cert (infra/certs/dev/gateway.crt)3
Client verifies chain
Trust local CA or skip verify in dev (-k)4
Client cert (mTLS)
Optional: gateway requires client.pem for backend hop5
Finished
Encrypted tunnel — JWT + HTTP inside TLS to :84436
mTLS to backend
Gateway opens rustls client to ingestion/analyzer :8083/:8084Book 3 → Book 4 bridge
Book 4 builds the pipeline skeleton — you now understand why gateway and certs exist.
Teach-back prompt
Draw browser → gateway → ingestion on one diagram with JWT and mTLS labels.
mTLS between two services
Lab complete — nice work.