但是,世界如何能够通过蚊子出版/提交?
我尝试:
mosquitto_sub -h host.azure.net -p 8883 -t "topic/test/#" --username client-device1 --cafile /home/daniel/.step/certs/root_ca.crt
Error: A TLS error occurred.
如果我使用所生成的客户-用户1-auth-ID.pem,则同样错误。
And it gets even more confusing if you want to use libmosquitto.. what do you set here:
mosquitto_username_pw_set(_mosq, kUserName.c_str(), ???);
//or here:
mosquitto_tls_set(_mosq, cafile, capath, certfile, keyfile, callback);
因此,我的问题是,我如何通过蚊子(_sub/_pub)与我的 a子经纪人(通过,利用从
问题是否与在证书产生期间必须进入的密码有关?