AMQP, MQTT RabbitMQ configuration with Python

GitHub – lukebakken/mqtt-client-cert-example: Example showing use of client certificates with MQTT and RabbitMQ

loopback_users = none

log.file.level = debug

auth_mechanisms.1 = EXTERNAL
auth_mechanisms.2 = PLAIN
auth_mechanisms.3 = AMQPLAIN

ssl_options.certfile   = /path/folder//mqtt-client-cert-example/tls-gen/basic/result/server_certificate.pem
ssl_options.keyfile    = /path/folder//mqtt-client-cert-example/tls-gen/basic/result/server_key.pem
ssl_options.cacertfile = /path/folder//mqtt-client-cert-example/tls-gen/basic/result/ca_certificate.pem
ssl_options.verify     = verify_peer
ssl_options.fail_if_no_peer_cert  = true
ssl_cert_login_from = common_name

listeners.tcp.default = 5672
listeners.ssl.default = 5671

mqtt.listeners.tcp.default = 1883
mqtt.listeners.ssl.default = 8883
mqtt.ssl_cert_login = true
mqtt.allow_anonymous = true

management.tcp.port = 15672
management.ssl.port = 15671

management.ssl.certfile   = /path/folder//mqtt-client-cert-example/tls-gen/basic/result/server_certificate.pem
management.ssl.keyfile    = /path/folder//mqtt-client-cert-example/tls-gen/basic/result/server_key.pem
management.ssl.cacertfile = /path/folder//mqtt-client-cert-example/tls-gen/basic/result/ca_certificate.pem