forked from mtusi2026/mtusi2026lab7
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:
+5
-2
@@ -155,8 +155,11 @@ max_changes = 100
|
||||
max_objects_per_second = 2000
|
||||
|
||||
[broker]
|
||||
# Адрес, порт, пользователь и пароль RabbitMQ приходят из .env (мосты к
|
||||
# RABBITMQ_*) и из environment compose; здесь их не указывать.
|
||||
# Адрес и порт RabbitMQ приходят из .env (мосты к RABBITMQ_*) и из environment
|
||||
# compose; вход — только по сертификату identity процесса (change
|
||||
# messaging-telemetry-mtls): пути к сертификату, ключу и CRL — secrets compose и
|
||||
# цели make run_relay / run_worker. Здесь их не указывать: файл смонтирован и в
|
||||
# консоль, и в контейнеры.
|
||||
# секунды на установку соединения с брокером
|
||||
connect_timeout_seconds = 2
|
||||
# секунды на публикацию пакета заданий relay целиком: соединение, канал,
|
||||
|
||||
Reference in New Issue
Block a user