我按照官方Mosquitto网站上的TLS配置生成了所有证书和密钥。
pid_file /var/run/mosquitto.pid
persistence true
persistence_location /var/lib/mosquitto/
listener 1883
port 8883
cafile /etc/mosquitto/ca_certificates/ca.crt
certfile /etc/mosquitto/ca_certificates/server.crt
keyfile /etc/mosquitto/ca_certificates/server.key
log_dest file /var/log/mosquitto/mosquitto.log
include_dir /etc/mosquitto/conf.d
它在本地工作正常。但是我无法从网络外部连接。有人能解释一下我在这里做错了什么吗?我错过了什么?
谢谢。