未加密和ssl模式下的MQTT Mosquitto

时间:2018-08-05 07:08:11

标签: linux ssl mqtt mosquitto

是否可以在未加密和SSL模式下运行MQTT Mosquitto?我需要它以未加密模式(仅用户/通过身份验证)在本地网络中用于基于ESP的DiY单元,并将代理暴露给Internet以满足地理围栏的需要,当然需要通过SSL。 如果是这样,我该如何在Linux中修改默认配置文件或启动命令?

这是我的蚊子配置文件:

pid_file /var/run/mosquitto.pid
persistence true
persistence_location /var/lib/mosquitto/
log_dest none
#log_dest file /var/log/mosquitto/mosquitto.log
include_dir /etc/mosquitto/conf.d
max_queued_messages 200
message_size_limit 0
allow_anonymous true 
autosave_interval 900
autosave_on_changes false
allow_zero_length_clientid true
allow_duplicate_messages false
persistence_file mosquitto.db
password_file /etc/mosquitto/passwd

0 个答案:

没有答案