Now I get this error message:
Code: Select all
E (35928) esp-tls: Failed to open new connection
E (35928) TRANS_SSL: Failed to open a new connection
E (35938) MQTT_CLIENT: Error transport connect
I (35938) MQTTS_EXAMPLE: MQTT_EVENT_ERROR
I (35948) MQTTS_EXAMPLE: Last error code reported from esp-tls: 0x8010
I (35948) MQTTS_EXAMPLE: Last tls stack error number: 0x2700
I (35958) MQTTS_EXAMPLE: Last captured errno : 0 (Success)
I (35968) MQTTS_EXAMPLE: MQTT_EVENT_DISCONNECTED
I (50968) MQTTS_EXAMPLE: Other event id:7
E (51008) esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x2700
I (51008) esp-tls-mbedtls: Failed to verify peer certificate!
I (51008) esp-tls-mbedtls: verification info: ! The certificate Common Name (CN) does not match with the expected CN
! The certificate is not