簡體   English   中英

在 mqtt 用戶名和密碼中啟用身份驗證

[英]enable authentication in mqtt username and password

更改 mqtt 配置文件以使用用戶名和密碼進行身份驗證 conf 文件設置use_identity_as_username true

username:password
password_file

我們需要在配置文件中做哪些更改

我正在使用Mosquitto MQTT broker ,我喜歡這樣:

設置allow_anonymous false

password_file file_path

然后嘗試使用 conf 文件啟動代理::::

從命令提示符:

c:\>mosquitto\mosquitto -c mosquitto.conf

//

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM