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
9 months agoGetting Started with Orange Pi 4A | Flash Ubuntu Jammy Server Linux to SD Card | USB Debugging |
45 -
LIVE
PudgeTV
3 hours ago🟣 Arc Raiders - Gaming on Rumble | The Rumskateers Go Topside
77 watching -
LIVE
Reidboyy
11 hours ago24/7 BO7 Camo Grind! Stream Doesn't End Until I Unlock EVERY Camo in Black Ops 7!
110 watching -
1:05:07
Julie Green Ministries
3 hours agoLIVE WITH JULIE
75.2K139 -
LIVE
WorldofGaming
1 day agoTHE ULTIMATE MARIO KART WORLD MARATHON!
127 watching -
2:49:34
Country Craft Streams
3 hours agoJunkyard Juggernaut Clash
3K -
1:06:26
Crypto Power Hour
10 hours ago $4.07 earnedThe Rise & Fall Of Samourai Wallet…The Truth
30.6K8 -
15:36
Upper Echelon Gamers
15 hours ago $5.80 earnedThe Doomed Economics of KLARNA - Buy Now, Pay Never
24.3K4 -
11:45
World2Briggs
17 hours ago $4.45 earnedShould You Move To Austin, Texas?
18.1K11 -
1:43:48
The Confessionals
21 hours agoThe Pagan Rituals an FBI Agent Was Never Supposed to See (and the Kingdom of Darkness looked back)
22.4K1