Internet of Things Asked by Shan-Desai on January 22, 2021
Some known facts whilst working with mosquitto
:
mosquitto
is a Command-Line Interface based broker.mosquitto.conf
filemosquitto_passwd
CLIsystemd
or system
) or the docker container needs to restarted OR using SIGUP
on the Process of Mosquittomosquitto
broker, it would required the UI to access shell access which may require root
access to perform broker restarts or calling the kill -SIGHUP $pid_mosquitto
commands as well as other CLIs (dependent on the way the broker is installed)mosquitto
unfortunately does not provideAs @Aurora001 pointed out in the comments the solution to this is to use the mosquitto-auth-plugin (or write your own plugin using the mosquitto plugin API). While the original plugin has been archived there are active forks being worked on.
Extending the existing mosquitto docker container to build the plugin is not hard.
Many different brokers offer database backends to the Authentication/Authorisation systems, how you choose to update the database it up to you.
Answered by hardillb on January 22, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP