forked from mtusi2026/mtusi2026lab7
feat(lab7): implement secure messenger infrastructure with TLS, OpenBao and observability
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# Lab7 - RabbitMQ TLS
|
||||
# Transitional configuration: both AMQP and AMQPS.
|
||||
# Plaintext listener will be disabled after client migration.
|
||||
|
||||
listeners.tcp = none
|
||||
listeners.ssl.default = 5671
|
||||
|
||||
ssl_options.cacertfile = /run/lab7-rabbitmq/ca.crt
|
||||
ssl_options.certfile = /run/lab7-rabbitmq/rabbitmq.crt
|
||||
ssl_options.keyfile = /run/lab7-rabbitmq/rabbitmq-server.key
|
||||
|
||||
# TLS 1.2 or newer.
|
||||
ssl_options.versions.1 = tlsv1.3
|
||||
ssl_options.versions.2 = tlsv1.2
|
||||
|
||||
# Clients authenticate with RabbitMQ username/password.
|
||||
# A client certificate is not required in this configuration.
|
||||
ssl_options.verify = verify_none
|
||||
ssl_options.fail_if_no_peer_cert = false
|
||||
|
||||
# Import RabbitMQ users, permissions and queue definitions.
|
||||
definitions.import_backend = local_filesystem
|
||||
definitions.local.path = /run/lab7-rabbitmq/definitions.json
|
||||
Reference in New Issue
Block a user