Configuration 在mqtt用户名和密码中启用身份验证
在mqtt配置文件中更改用户名和密码身份验证配置文件设置Configuration 在mqtt用户名和密码中启用身份验证,configuration,mqtt,Configuration,Mqtt,在mqtt配置文件中更改用户名和密码身份验证配置文件设置使用\u identity\u作为\u username true username:password password_file 我们需要在配置文件中做哪些更改我正在使用mosquito MQTT-broker,我喜欢这样做: 设置allow\u anonymous false password_file file_path 然后尝试使用conf文件启动代理: 从命令提示符: c:\>mosquitto\mosquitto -c
使用\u identity\u作为\u username true
username:password
password_file
我们需要在配置文件中做哪些更改我正在使用
mosquito MQTT-broker
,我喜欢这样做:
设置allow\u anonymous false
password_file file_path
然后尝试使用conf文件启动代理:
从命令提示符:
c:\>mosquitto\mosquitto -c mosquitto.conf
//MQTT是一种协议,而不是一种实现。您正在尝试配置哪个服务器?