Files
mtusi2026lab7/infra/rabbitmq/rabbitmq.conf
T
ejur22 d995f98446
Skeleton contracts / contracts (pull_request) Canceled after 0s
Lab 7
2026-11-27 20:47:58 +03:00

17 lines
694 B
Plaintext

# Internal broker listener with mandatory client certificates (mTLS).
# The client identity is the certificate CN (EXTERNAL auth), so a certificate
# signed by the project CA but carrying an unknown CN cannot authenticate at
# all. Plaintext TCP is disabled; nothing is published to the host.
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
auth_mechanisms.1 = EXTERNAL
auth_mechanisms.2 = PLAIN
ssl_cert_login_from = common_name