Skip to content

Instantly share code, notes, and snippets.

@akilawickey
Created April 20, 2020 06:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save akilawickey/231163c21a61b54631a93f23fb67a159 to your computer and use it in GitHub Desktop.
Save akilawickey/231163c21a61b54631a93f23fb67a159 to your computer and use it in GitHub Desktop.
RabbitMQ with tls enabled config
listeners.ssl.default = 5671
ssl_options.cacertfile = /tmp/ca_certificate.pem
ssl_options.certfile = /tmp/server_certificate.pem
ssl_options.keyfile = /tmp/server_key.pem
ssl_options.verify = verify_none
ssl_options.fail_if_no_peer_cert = true
## Default MQTT with TLS port is 8883
mqtt.listeners.ssl.default = 8883
mqtt.vhost = /
mqtt.exchange = amq.topic
# 24 hours by default
mqtt.subscription_ttl = 86400000
mqtt.prefetch = 10
mqtt.allow_anonymous = false
log.exchange = true
loopback_users.guest = false
listeners.tcp.default = 5672
management.ssl.port = 15671
management.ssl.cacertfile = /tmp/ca_certificate.pem
management.ssl.certfile = /tmp/server_certificate.pem
management.ssl.fail_if_no_peer_cert = false
management.ssl.keyfile = /tmp/server_key.pem
management.ssl.verify = verify_none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment