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
------------------------------------------------------------
-
5:58
Fusion Automate
4 days ago[BASIC] Modbus TCP/IP Device Data Logging to PostgreSQL Database using Python
1 -
LIVE
StoneMountain64
3 hours agoBattlefield REDSEC leveling guns for attachments
220 watching -
16:30
Clintonjaws
18 hours ago $8.35 earned'The View's' Producer Stops Show & Forces Whoopie To Correct Lie
18.8K14 -
10:51
Scammer Payback
2 hours agoScammer's Meltdown after He's Been Hacked
2052 -
LIVE
LFA TV
19 hours agoLIVE & BREAKING NEWS! | TUESDAY 11/4/25
1,326 watching -
LIVE
freecastle
5 hours agoTAKE UP YOUR CROSS- INTEGRITY of the upright GUIDES them, CROOKEDNESS of the treacherous DESTROYS!
28 watching -
Pop Culture Crisis
2 hours agoCoca-Cola's WAR ON CHRISTMAS, Movie Press Tour CRINGE, Gen Z HATES Gen Z | Ep, 949
13.8K3 -
1:10:24
Steve-O's Wild Ride! Podcast
5 days ago $0.98 earnedMatt McCusker Makes Steve-O Nervous | Wild Ride #272
13.1K2 -
17:09
Bearing
10 hours agoHasan Goes NUCLEAR On Chat ☢️ ROASTED By JD Vance Over Dog Allegations 🚨
18.8K29 -
LIVE
The HotSeat With Todd Spears
2 hours agoEP 203: The Military "Whistleblower"
702 watching