feat: require mTLS with certificate login for RabbitMQ and split relay and worker rights
Broker accepts only TLS 1.3 with a client certificate checked against the stand CRL; login is EXTERNAL by certificate DNS SAN, broker passwords are gone. Relay may declare its queue and publish, worker may only consume. Definitions and TLS material checks come from infra/rabbitmq/start.sh; temporary stands, CI, bench and the fault hook use the same mTLS identities. Adds make broker_mtls_check [REPORT=1] and drops the rollback broker compose. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+4
-4
@@ -13,9 +13,9 @@ VALKEY_PORT=6379
|
||||
S3_HOST=s3
|
||||
S3_PORT=8333
|
||||
S3__BUCKET=bench
|
||||
# брокер, relay и worker описаны и не запускаются (лаба 5); compose требует эти
|
||||
# значения при разборе, пароль брокера генерирует run.py
|
||||
# брокер, relay и worker запускают только профили очереди; compose требует эти
|
||||
# значения при разборе. С change messaging-telemetry-mtls — только TLS-порт и
|
||||
# вход по сертификату identity relay / worker PKI прогона, пароля брокера нет
|
||||
RABBITMQ_HOST=rabbitmq
|
||||
RABBITMQ_PORT=5672
|
||||
RABBITMQ_DEFAULT_USER=bench
|
||||
RABBITMQ_PORT=5671
|
||||
APP__PORT=8080
|
||||
|
||||
Reference in New Issue
Block a user