能否提供MQTT的SSL链接方式支持
ganggangliu opened this issue · 1 comments
ganggangliu commented
1、无法找到ssl认证的配置
asio2::mqtt_client client;
mqtt::v5::connect connect;
connect.keep_alive(100);
connect.client_id(u8"37792738@qqs.com");
未提供SSL的方法:
下面是tcp的ssl样例
// use memory string for cert
client.set_verify_mode(asio::ssl::verify_peer);
client.set_cert_buffer(ca_crt, client_crt, client_key, "123456");
2、v5版本的增强认证我改怎么使用
zhllxt commented
使用其它的开源库吧。
不要使用asio2::mqtt,因为很不成熟,非常多的mqtt特性都没提供,而且开发起来太复杂了,我没时间开发,所以MQTT暂停开发了,什么时候开发完善我不确定,我仅在项目中使用了其最基本的功能。