Search found 4 matches

by Chozmao
Mon Apr 04, 2022 9:22 pm
Forum: ESP-IDF
Topic: ESP32 MQTT over TLS 1.3 not working
Replies: 1
Views: 1585

Re: ESP32 MQTT over TLS 1.3 not working

by Chozmao
Sat Apr 02, 2022 3:10 pm
Forum: ESP-IDF
Topic: ESP32 MQTT over TLS 1.3 not working
Replies: 1
Views: 1585

ESP32 MQTT over TLS 1.3 not working

Hi, anyone tried new TLS 1.3 feature? I upgraded esp-idf to 5.0 and mbedtls in component to the branch mbedtls-3.1.0-idf After the TLS handshake is over, the client receives "MBEDTLS_SSL_HS_NEW_SESSION_TICKET" packet. And then post_handshake function directly returns with "UNEXPECTED_MESSAGE". TLS c...
by Chozmao
Sat Apr 02, 2022 2:55 pm
Forum: ESP-IDF 中文讨论版
Topic: ESP32 MQTT over TLS 1.3 有人试过了吗?TLS 1.3 handshake over之后出错
Replies: 1
Views: 1597

ESP32 MQTT over TLS 1.3 有人试过了吗?TLS 1.3 handshake over之后出错

有人在esp32上成功跑过 TLS 1.3吗? 用的master esp-idf 5.0, 然后 mbedtls用的是branch mbedtls git:(mbedtls-3.1.0-idf) 我想测下MQTT over TLS 1.3 在menuconfig里面enable了tls 1.3 第一次 tls 1.3 的handshake没问题,ssl状态在WRAPUP后设置为 MBEDTLS_SSL_HANDSHAKE_OVER 然后在 ssl_handle_hs_message_post_handshake()函数里面报错, 我看了下是收到了NEW_SESSION_TICKET 包裹。 原...