Mbedtls library TLS 1.3 issue
https://github.com/Mbed-TLS/mbedtls/issues/5558
Search found 4 matches
- Mon Apr 04, 2022 9:22 pm
- Forum: ESP-IDF
- Topic: ESP32 MQTT over TLS 1.3 not working
- Replies: 1
- Views: 1917
- Mon Apr 04, 2022 9:18 pm
- Forum: ESP-IDF 中文讨论版
- Topic: ESP32 MQTT over TLS 1.3 有人试过了吗?TLS 1.3 handshake over之后出错
- Replies: 1
- Views: 1889
Re: ESP32 MQTT over TLS 1.3 有人试过了吗?TLS 1.3 handshake over之后出错
known bug. mbedtls 库对TLS 1.3 的支持还不完善
https://github.com/Mbed-TLS/mbedtls/issues/5558
https://github.com/Mbed-TLS/mbedtls/issues/5558
- Sat Apr 02, 2022 3:10 pm
- Forum: ESP-IDF
- Topic: ESP32 MQTT over TLS 1.3 not working
- Replies: 1
- Views: 1917
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 ...
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 ...
- 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: 1889
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 包裹 ...
用的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 包裹 ...