要让mosquitto_pub尝试启动SSL连接,您需要提供指向CA证书位置的--cafile或--capath,以验证代理。 如果没有这些选项,mosquitto_pub或mosquitto_sub都不会尝试启动SSL会话,而是尝试使用普通的未加密MQTT连接进行连接。 在大多数Linux发行版上,您可以使用--capath并指向/etc/ssl/certs目录。 收藏分享票数3 EN 页面原文...
The next step is to remove thetls_version tlsv1line from your mosquitto configuration and repeat the above command. In that case I would expect to get the following error message on the broker: Client connection from ::1 failed: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown pr...
bridge_certfile /home/itouchtv/mosquitto-1.4.14/myCA/client.crt bridge_keyfile /home/itouchtv/mosquitto-1.4.14/myCA/client.key And there are errors: 1521017807: OpenSSL Error: error:1409442E:SSL routines:SSL3_READ_BYTES:tlsv1 alert protocol version ...