我正在使用Emqtt 2.3.3version。我正在尝试使用let加密来实现ssl。我正在按照以下步骤实施相同的操作
sudo apt-get更新,sudo apt-install安装软件属性-公共,sudo add-apt-repository ppa:certbot / certbot,sudo apt-get更新,sudo apt-get安装certbot
sudo certbot certonly --standalone -d example.com openssl验证-CAfile /etc/letsencrypt/live/$domain/chain.pem /etc/letsencrypt/live/zhengyupan.de/cert.pem
/etc/letsencrypt/live/$domain/cert.pem:确定
我在emq中更改了以下配置 listener.ssl.external.keyfile = /etc/letsencrypt/live/$domain/privkey.pem listener.ssl.external.certfile = /etc/letsencrypt/live/$domaion/fullchain.pem
cat /etc/ssl/certs/DST_Root_CA_X3.pem /etc/letsencrypt/live/$domain/chain.pem> ca.pem
mosquitto_sub -t abc -h $ domain -p 8883 -d --cafile〜/ ca.pem
如果我订阅,我会收到连接超时等错误消息