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:
@@ -14,6 +14,12 @@
|
||||
# *_HOST — та же правка строки), localhost — порт на хосте для консоли и
|
||||
# проверок с хоста.
|
||||
#
|
||||
# rabbitmq, relay, worker (change messaging-telemetry-mtls, design, решение 2):
|
||||
# брокер — сервер mTLS, первое имя SAN = RABBITMQ_HOST из .env (смена — та же
|
||||
# правка строки), localhost — порт на хосте для консоли и проверок; relay и
|
||||
# worker — клиенты брокера, первое DNS SAN — имя пользователя брокера
|
||||
# (механизм EXTERNAL), права — определения infra/rabbitmq/start.sh.
|
||||
#
|
||||
# имя профиль SAN форма
|
||||
haproxy client haproxy bundle
|
||||
api server api split
|
||||
@@ -21,3 +27,6 @@ ingress server localhost,ingress bundle
|
||||
postgres server postgres,localhost split
|
||||
valkey server valkey,localhost split
|
||||
s3 server s3,localhost split
|
||||
rabbitmq server rabbitmq,localhost split
|
||||
relay client relay split
|
||||
worker client worker split
|
||||
|
||||
Reference in New Issue
Block a user