Complete lab7 grade 4 implementation
Skeleton contracts / contracts (pull_request) Canceled after 0s

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
HellsTomato
2026-11-06 15:35:53 +03:00
co-authored by Copilot
parent 20afc2c790
commit 2ef0299e34
68 changed files with 8073 additions and 77 deletions
+1
View File
@@ -0,0 +1 @@
[rabbitmq_auth_mechanism_ssl].
+17
View File
@@ -0,0 +1,17 @@
# Пользователи, права, exchange и очереди импортируются при каждом старте (идемпотентно, по хешу файла).
load_definitions = /run/secrets/rabbitmq_definitions.json
# The broker accepts only mutually authenticated TLS connections; plaintext AMQP is disabled.
listeners.tcp = none
listeners.ssl.default = 5671
ssl_options.cacertfile = /run/secrets/ca.crt
ssl_options.certfile = /run/secrets/broker.crt
ssl_options.keyfile = /run/secrets/broker.key
ssl_options.verify = verify_peer
ssl_options.fail_if_no_peer_cert = true
# EXTERNAL maps the verified client certificate CN to the RabbitMQ username.
# PLAIN is disabled so a password cannot bypass certificate identity.
auth_mechanisms.1 = EXTERNAL
ssl_cert_login_from = common_name
# Пороги flow control ниже лимита контейнера 512M: при нехватке памяти/диска брокер тормозит издателей, а не падает.
vm_memory_high_watermark.absolute = 256MiB
disk_free_limit.absolute = 200MB