Secure connection failed to pelion

Hi, I’m trying to connect my device to Pelion but I couldn’t do it successfully. My device is the RHOMBIO_L476DMW1K composed by an ESP8266 (for WI-FI connection) and an STM32L476.

I’m able to connect to my WI-FI net, but I can not establish properly the secure connection to Pelion portal and always shows the same error code through the serial port:

[SMCC] Error occurred : MbedCloudClient::ConnectSecureConnectionFailed
[SMCC] Error code : 11
[SMCC] Error details : Client in reconnection mode SecureConnectionFailed

This is my first time connecting to Pelion, if more information is needed for helping me to solve my issue, let me know bellow.

Thank you in advance.