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
7 months agoGetting Started with Orange Pi 4A | Flash Ubuntu Jammy Server Linux to SD Card | USB Debugging |
35 -
Joe Donuts Live
3 hours ago🟢 Lost in Space with My Clones: The Alters Adventure Begins
14.9K -
7:20:22
Dr Disrespect
12 hours ago🔴LIVE - DR DISRESPECT - TRIPLE THREAT CHALLENGE - WINNING AT EVERYTHING
196K12 -
2:35:33
Chrono
5 hours agoBirthday-eve Stream | Helldivers II
12.8K -
54:40
BonginoReport
1 day agoLABOR DAY SPECIAL! The Best of Nightly Scroll - Nightly Scroll w/ Hayley Caronia (Ep.124)
107K13 -
2:39:21
Joker Effect
3 hours agoReviewing the downfall of Kick Streaming. Kick streamers welcome to Rumble! Stake bombshell found!
20.2K1 -
1:06:10
Russell Brand
12 hours agoThe Greatest Lie Ever Told? - SF625
85.9K107 -
3:25:13
elwolfpr
4 hours agoBlack Ops 6: Rise of the Relentless
7.62K1 -
LIVE
Phyxicx
3 hours agoChillin - For The King - 9/1/2025
18 watching -
LIVE
Spartan
8 hours agoNew Game+ on E33, then back to Halo Grind
67 watching