cancel
Showing results for 
Search instead for 
Did you mean: 

x-cube AWS OTA fails (Solved)

Hello geeks....

I'm using x-cube aws sdk with P-L496G-CELLONE development board

SDK version is 1.4.0 having aws version 3.0.1

I can successful connect with the my MQTT aws server

Now the problem is, when i try to do OTA then, out of 5 attempts, 4 attempts fails

Every time I'm getting same errors of handshaking(-0x2700)

I have all default settings in mbedtls_config.h

I'm unable to set the debug_level to 4 due to the limitations of the SRAM in mbedTLS

Here is the error logs

0693W000003Bs3lQAC.png

All suggestions and comments welcome

Thanks

2 REPLIES 2
grd
ST Employee

Hi,

In order to diagnose the "​The certificate validity starts in the future" error, the first thing is to verify that the date of the Real Time Clock of the MCU is initialized properly.

In the demo application, this init is performed by HAL_RTC_SetDate(). The RTC is then used by mbedTLS through the time() function.

The second point to check is the validity period of the server certificate, for instance thanks to a web browser (https://support.mozilla.org/en-US/kb/secure-website-certificate).

- grd

Hi...

issue has been resolve

That is might be the selection of wrong editor to open the AWS credentials

Notped ++ helps a lot

Thanks