-
Hi, Also I couldn't figure out what to do with this in the config file, can you pls help to explain if I need to define this for mosquitto password file to work? If so, what is the proper config here if I followed the docker build instructions?
Overall I like the solution, I am just not experienced enough to figure out this part myself. My FlashMQ is running in docker, but only with the allow_anonymous true option, since the password and acl file not working for me. I appreciate your help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Apparently Mosquitto introduced a new hashing format. I'll get on supporting that. #17 In the mean time, you can make passwords with As for the plugin: you don't need that for the password file. The plugin is for when you write C(++) code to do the authentication. If you do get into plugin development, there are many caveats when using Docker or AppImage. |
Beta Was this translation helpful? Give feedback.
-
I installed the server and it works, but I don't understand how to enable the username and password to connect to the mqtt server. Can you please provide an example of a config file? |
Beta Was this translation helpful? Give feedback.
Apparently Mosquitto introduced a new hashing format. I'll get on supporting that. #17
In the mean time, you can make passwords with
mosquitto_passwd -H sha512
.As for the plugin: you don't need that for the password file. The plugin is for when you write C(++) code to do the authentication.
If you do get into plugin development, there are many caveats when using Docker or AppImage.