2017-12-22 02:45 AM
I am using STM32F769I-DISCO. and using STM32Cube_FW_F7_V1.8.0
I want to test mbedTLS SSL_Client example.
I am using STM32Cube_FW_F7_V1.8.0\Utilities\PC_Software\ssl_server\ssl_server.exe as SSL server in Windows 7.
With mbedtls_ssl_conf_authmode( &conf, MBEDTLS_SSL_VERIFY_OPTIONAL );
I am getting 'X.509 verification failed' but got successful connection.
But with mbedtls_ssl_conf_authmode( &conf, MBEDTLS_SSL_VERIFY_REQUIRED );
I am getting 'mbedtls_ssl_handshake returned -0x2700'.
Please find attached Log images.
So why is it happening with the example code?
#stm32-f7 #iot #ssl #tls #mbedtls