Premium Only Content

004 | Setting up Username & Password Authentication for Mosquitto MQTT Broker | MQTT |
🧑💻In this video we will see how to set Username and Password Authentication for your mosquitto MQTT broker. So any subscriber or publisher must need Username and Password to publish and subscribe data via our mosquitto MQTT broker.
👣Steps :
➡️ Run cmd As Administrator
➡️ Nevigate to mosquitto Folder : C:\Program Files\mosquitto
➡️ Start Mosquitto Service by : net start mosquitto
➡️ Stop Mosquitto Service by :net stop mosquitto
👣METHOD1: (For More Details : https://mosquitto.org/man/mosquitto_passwd-1.html)
➡️ mosquitto_passwd -c passwordfile username
➡️ mosquitto_passwd -c password_file.txt root
👣METHOD2: (For More Details : https://mosquitto.org/man/mosquitto_passwd-1.html)
➡️ mosquitto_passwd -b passwordfile username password
➡️ mosquitto_passwd -b password_file.txt admin admin@123
👣Steps to Delete User
➡️ mosquitto_passwd -D passwordfile username
➡️ mosquitto_passwd -D password_file.txt admin
👣Steps to Change Config File
➡️ per_listener_settings true
➡️ allow_anonymous false
➡️ password_file C:\Program Files\mosquitto\password_file.txt
⚠️Mosquitto Version in Use : Version 2.0.8
#mosquito #iot #iotsolutions #mqtt #authentication
------------------------------------------------------------
🌐Website : https://fusion-automate.super.site/
💬Telegram: https://t.me/PYLIN
📢Join this channel to get access to perks: https://www.youtube.com/channel/UCKKhdFV0q8CV5vWUDfiDfTw/join
------------------------------------------------------------
-
16:47
Fusion Automate
8 months agoGetting Started with Orange Pi 4A | Flash Ubuntu Jammy Server Linux to SD Card | USB Debugging |
37 -
LIVE
ahdedazs
1 hour agoBlack Ops 7 EARLY ACCESS BETA! Second Stream on RUMBLE! *NEW CREATOR*
47 watching -
2:01:12
The Culture War with Tim Pool
4 hours agoNigeria's Christian Genocide, Media Ignoring Atrocities | The Culture War Podcast
119K64 -
DVR
The Shannon Joy Show
1 hour agoKash Patel Doubles Down On Speech Control Opens The Door For Mass Censorship in America (Sponsored)
243 -
2:08:19
Side Scrollers Podcast
5 hours agoNetflix Execs to TESTIFY Over LGBTQ Agenda + IGN DESTROYS Xbox Game Pass + More | Side Scrollers
14.1K4 -
1:06:22
The Quartering
2 hours agoAntifa Just Made A Huge Mistake...
70K42 -
1:25:13
MattMorseTV
2 hours ago $5.45 earned🔴EMERGENCY White House PRESS CONFERENCE.🔴
16.6K21 -
1:59:20
The Charlie Kirk Show
3 hours agoChristians Under Siege + Shame! Shame! + AMA | O'Neill, Ahern | 10.3.2025
70.4K23 -
1:02:21
Dear America
2 hours agoEp 3 Graham Allen Show
25.7K12 -
3:01:23
Right Side Broadcasting Network
5 hours agoLIVE REPLAY: White House Press Secretary Karoline Leavitt Holds a Press Briefing - 10/3/25
62.4K29