# RabbitMQ 4.0 (lab7): TLS-only AMQP with mandatory client certificates. Identity = certificate CN, mapped to a # passwordless user from definitions.json (auth mechanism EXTERNAL). No password users, no guest, no management UI. listeners.tcp = none listeners.ssl.default = 5671 ssl_options.cacertfile = /run/secrets/ca.crt ssl_options.certfile = /run/secrets/server.crt ssl_options.keyfile = /run/secrets/server.key ssl_options.verify = verify_peer ssl_options.fail_if_no_peer_cert = true ssl_options.versions.1 = tlsv1.3 ssl_options.versions.2 = tlsv1.2 auth_mechanisms.1 = EXTERNAL ssl_cert_login_from = common_name # Users, permissions, vhost and topology come from the definitions file on every boot. definitions.import_backend = local_filesystem definitions.local.path = /etc/rabbitmq/definitions.json definitions.skip_if_unchanged = true loopback_users = none consumer_timeout = 600000 disk_free_limit.absolute = 200MB vm_memory_high_watermark.relative = 0.6 log.console.level = warning # Erlang distribution (CLI tools, clustering) is loopback-only: no cluster here, and rabbitmqctl runs inside the # container. Otherwise ports 25672/4369 would be a cookie-protected plaintext channel reachable from the network. distribution.listener.interface = 127.0.0.1