MQTT username and password on ChirpStack

Hello everyone,

Can someone explain to me step by step how to set up MQTT authorization and authentication via username and password on ChirpStack?

I tried everything I could, but I couldn’t. The OS is linux, the latest version of mosquitto is installed.

Hi @Hunter , nice to meet you in the HiveMQ community forum :slight_smile: To which broker are you trying to connect, what is the config that you tried and what is the exact error message that you see?

Hi @Daria_H thank you very much for answering my troubles :slight_smile:
I used these instructions, with that I already had mosquitto installed.

When I got to step 4 and the command password_file /etc/mosquitto/passwd
allow_anonymous false linux showed me an error and invalid message.

I’m not even sure if I did the previous steps correctly, so if you have any step by step instructions. You asked me about the MQTT broker, I don’t have any information about it.

What is the error message? Can you copy and paste the text here?

Can you give me your e-mail?

Hi @Hunter , email support@hivemq.com