Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mosquitto » How to securely store the password of Mosquitto as a client to RabbitMQ
How to securely store the password of Mosquitto as a client to RabbitMQ [message #1777932] Wed, 06 December 2017 10:29
Chris H is currently offline Chris HFriend
Messages: 1
Registered: December 2017
Junior Member

I have a configuration where Mosquitto connects to RabbitMQ (source of messages) as a client and acts like a bridge, sending them to another system.

I don't want to have the password of the rabbitmq user stored in the mosquitto.conf, which mosquitto makes use of to connect to rabbitmq.

As far as I undestood the documentation, the password_file option is only for the other way round (clients making a connection to mosquitto).

Is it possible to store the password, mosquitto uses to connect to the RabbitMQ, in a keychain? Or is there even a more secure alternative? (Note that I need to use this with mosquitto running in docker)

Also, the bridge configuration they gave me uses "username" and "password" options for both of the connections (from RabbitMQ and to external system)

This is quite confusing to me as the documentation of the mosquitto.conf only documents "user", "remote_username", "local_username", "remote_password" and "local_password" .. I'm not quite sure which of those are replaced by "username" and "password"

Maybe "username" is "local_username" for clients connecting to my mosquitto and "remote_username" for the connection I make to the source of the messages?

Previous Topic:Mosquitto on Raspberry not started after reboot
Next Topic:Mosquitto crashing
Goto Forum:

Current Time: Sat Nov 28 21:16:30 GMT 2020

Powered by FUDForum. Page generated in 0.01983 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top