M2 §2: require a CA-issued client cert on the HTTP listener (mTLS)
Serve the listener over TLS with ClientAuth=RequireAndVerifyClientCert trusting the instance CA (shared tlsutil.ServerConfig): only Maestro can drive actions (T4), and the peer edge is encrypted. INSECURE_INTERNAL=1 (dev debug compose) keeps the listener plaintext for the RN client's direct mode and hot reload.
This commit is contained in:
@@ -39,6 +39,9 @@ services:
|
||||
# Environment variables for the application
|
||||
environment:
|
||||
- DEV_MODE=true
|
||||
# Security theme M2 §2: dev escape hatch — keep the listener plaintext
|
||||
# so the RN client (direct mode) and hot reload work without certs.
|
||||
- INSECURE_INTERNAL=1
|
||||
# Application configuration
|
||||
# - PORT=8080
|
||||
# - ENVIRONMENT=development
|
||||
|
||||
Reference in New Issue
Block a user