forked from mtusi2026/mtusi2026lab7
Implement lab 7 mTLS OpenBao and certificate rotation
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
| Actor / component | Trust boundary | Allowed access |
|
||||
|---|---|---|
|
||||
| Client | Host → HAProxy | HTTPS only on `8443`; certificate must be trusted by the client |
|
||||
| HAProxy | Ingress → private Docker network | Routes TLS traffic to health-checked API replicas |
|
||||
| HAProxy | Ingress → private Docker network | Routes external TLS and presents an `lb-client` certificate to API replicas |
|
||||
| API | Application network | Reads PostgreSQL/Redis and uses MinIO through service credentials |
|
||||
| Worker | Application network | Processes queued attachment jobs; no public listener |
|
||||
| Data services | Private Docker network | No host-published data ports |
|
||||
|
||||
The certificate generated by `scripts/bootstrap.py` is self-signed for lab use. Production needs a managed CA, credential rotation, and mutual TLS or an identity-aware gateway for service-to-service authentication.
|
||||
The certificate generated by `scripts/bootstrap.py` is self-signed for lab use. API replicas require a client certificate signed by the local CA, and only the LB identity is issued for that role. OpenBao uses persistent file storage and separate API/worker policies; the operator performs init/unseal and AppRole rollout without committing root material. Production needs a managed CA, credential rotation, and TLS on the OpenBao listener.
|
||||
|
||||
Reference in New Issue
Block a user