4 years, 8 months ago.

mbedTLS STM32F429I-Eval handshake problem

Dear Embed TLS!

We try connect to a server with STM32F4 Cube mbedTLS Client example application (on an STM324x9I_EVAL-1 board). On the server side we use letsencrypt certifcates with nginx.

Access log: SSL_do_handshake() failed (SSL: error:1417A0C1:SSL routines:tls_post_process_client_hello:no shared cipher) while SSL handshaking

On the display of the board we got this error: "mbedtls_ssl_handshake returned -0x7780"

We spent hours to find soltion on the internet and we tried a lots of configurations but nothing changed.

Please help us!

1 Answer

4 years, 8 months ago.

Hi Bence,

The error you are receiving is a fatal alert that was received from the server.

As you can see from the server logs, you see: "no shared cipher"

It seems the server is using openSSL as its TLS stack.

What are the ciphersuites that you enabled? What are the ECC curves ( If using ECDSA and ECDHE) used? What are the certificates used?

Without knowing more information on the certificates and ciphersuites being used, there could be numerous reasons why the openssl server failed the negotiation.

Regards

Mbed Support

Ron


Assigned to Ron Eldor 4 years, 8 months ago.

This means that the question has been accepted and is being worked on.