ARMmbed / mbed-os-example-tls

mbed TLS Sample application
Apache License 2.0
30 stars 53 forks source link

tls-client application cannot connect to the Mbed server after the root CA change #218

Closed k-stachowiak closed 5 years ago

k-stachowiak commented 5 years ago

The tls-client application returns:

Starting mbed-os-example-tls/tls-client
Using Mbed OS 5.10.3
Successfully connected to os.mbed.com at port 443
Starting the TLS handshake...
mbedtls_ssl_handshake() returned -0x2700
Carmeloning commented 5 years ago

How do you slove this problem?

k-stachowiak commented 5 years ago

@Carmeloning Please see the PR that is linked here: https://github.com/ARMmbed/mbed-os-example-tls/pull/217 To solve this error one must update the root certificate, otherwise the Mbed server will not accept the connection.