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
------------------------------------------------------------
-
3:51
Fusion Automate
7 months agoHow to Control GPIO of LUCKFOX Pico Pro/Max RV1106 Linux Micro Development Board using Python |
651 -
LIVE
RalliedLIVE
1 hour ago $0.33 earnedHIGH OCTANE WARZONE SOLOS ALL DAY
189 watching -
2:22:10
Nick Freitas
2 hours agoChurchill, Franco, and Rhodesia: Rethinking the Villains and Heroes of History
3.76K4 -
13:01
Professor Gerdes Explains 🇺🇦
4 hours agoUkraine in Turmoil: MASSIVE PROTESTS Against Zelensky ERUPT Nationwide
4.36K -
1:43:11
Redacted News
4 hours agoBREAKING! TRUMP DECLARES WAR ON OBAMA "TREASON" AS A DEEP STATE RINGLEADER IN RUSSIA HOAX | REDACTED
135K123 -
1:22:13
Michael Franzese
4 hours agoPablo Escobar’s Son Breaks Silence About His Father, Narcos, and The Cartel
34.7K8 -
LIVE
SpartakusLIVE
1 hour agoThe $1,000 Spartakus Gauntlet || Huskerrs and Twitty
91 watching -
9:02
Hollywood Exposed
3 hours agoPiers Morgan's Guests ROAST DC's New Superman - It’s A Trainwreck!
12.1K4 -
LIVE
GSLouise
3 hours agoFIRST RUMBLE STREAM go easy on me
40 watching -
LIVE
Spartan
4 hours agoSpartan - Pro Halo Player for OMiT | Scrims vs Unreal Nightmare
18 watching