SSL handshake fails with error:
mbedtls_ssl_handshake error: -4310
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/lib/ssl_repl.py", line 217, in start
File "/lib/ssl_repl.py", line 41, in __init__
File "/lib/ssl_repl.py", line 49, in connect_SOC
OSError: [Errno 5] EIO
The previous build : esp32-idf3-20200114-v1.12-63-g1c849d63a.bin works well.
Are there any significant changes in the ssl module in the latest build?
Is it related to this issue maybe?
I checked the error code here and I think it points to this (but still not sure how to read the error code since '-0x10d6' does not appear anywhere)
MBEDTLS_SSL_ALERT_MSG_UNSUPPORTED_CERT 43 /* 0x2B */
Maybe the previous build uses modussl_axtls.c by default instead of modussl_mbedtls.c and the latest is the other way around ?