Hi Expert,
使用阿里云IOT的sdk, 发现设备显示在线, 但是收不到任何信息, 有警告信息: mqtt_real_confirm()| ! fail ! CN mismatch
请教问题出在哪呢, 谢谢
log如下:
notice] src/aliyun_iot_mqtt_client.c:1804 aliyun_iot_mqtt_init()| mqtt init success!
ert. version : 3
erial number : AA:6C:D2:22:21:C0:BC:EB
ssuer name : CN=Aliyun MQTT broker, O=aliyun.com, OU=generate-CA, emailAddress=iot@aliyun.com
ubject name : CN=server, O=aliyun.com, OU=generate-CA, emailAddress=iot@aliyun.com
ssued on : 2016-04-15 02:05:43
xpires on : 2026-04-13 02:05:43
igned using : RSA with SHA-512
SA key size : 1024 bits
asic constraints : CA=false
ubject alt name : localhost
ert. type : SSL Server
ey usage : Digital Signature, Non Repudiation, Key Encipherment
notice] public_libs/porting/mbedtls/aliyun_iot_network_ssl.c:47
mqtt_real_confirm()| ! fail ! CN mismatch
notice] public_libs/porting/mbedtls/aliyun_iot_network_ssl.c:52 mqtt_real_confirm()| ! fail ! self-signed or not signed
by a trusted CA
notice] src/aliyun_iot_mqtt_client.c:2196 aliyun_iot_create_thread()| create recieveThread, keepaliveThread and retrans
hread!
notice] src/aliyun_iot_mqtt_client.c:2323 aliyun_iot_mqtt_connect()| mqtt connect success!
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。