cancel
Showing results for 
Search instead for 
Did you mean: 

mbedTLS Client ssl handshake failed

ritesh
Associate II
Posted on December 22, 2017 at 11:45

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
0 REPLIES 0