Open
Description
TLSSocket
Page link
https://os.mbed.com/docs/mbed-os/v5.15/apis/tlssocket.html
Expected to find...
Please, update SSL certificate according to the actual example.
https://github.com/ARMmbed/mbed-os-example-tls-socket
Also, I think it is advisable to add a mention of MBEDTLS_SHA1_C:
Configuring mbedtls
It might be necessary to configure the mbedtls library with appropriate macros in mbed_app.json file. Some boards (like UBLOX_EVK_ODIN_W2) will work fine without any additional configuration and some of them might require some minimal adjustment. For example K64F will require at least the following macro added:
{
"macros": ["MBEDTLS_SHA1_C"],
"target_overrides": {
...
}
}