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
------------------------------------------------------------
-
9:02
Fusion Automate
10 months agoHow to Control a Servo Motor Angle Using the LUCKFOX Pico Mini B RV1103 Linux Development Board |
371 -
LIVE
Wendy Bell Radio
5 hours agoEverything’s A Grift
7,452 watching -
12:03
Bearing
3 hours agoTransgender Women BANNED From the Olympics 🦀
3.85K15 -
1:10:48
Chad Prather
10 hours agoPeace That Walks Through Walls: Finding Faith in a Fearful World
71.8K14 -
LIVE
LFA TV
12 hours agoLIVE & BREAKING NEWS! | TUESDAY 11/11/25
3,344 watching -
8:27
MattMorseTV
17 hours ago $20.76 earnedIlhan Omar IMPLICATED in $250,000,000 FRAUD RING.
52.5K144 -
1:58:13
The Chris Salcedo Show
14 hours ago $4.71 earnedOur Vets Fought To Turn Over Our Country To Marxists & Leftists?
27.6K1 -
15:11
Cash Jordan
17 hours agoIllegals ‘Force Out’ NYC Millionaires… "Communist" Mayor FREAKS as RESIDENTS LEAVE
59.9K34 -
43:03
RiftTV
9 hours agoLeftists Scheme To Destroy the Economy | Guest: Brad Miller | DC Dive
42.5K6 -
6:52
ThinkStory
17 hours agoThe INSANE Pennywise Daughter Theory - IT: Welcome to Derry
33.3K