# What would be the reason that i can not get my ESP32 connected to losant platform?

**URL:** <https://forums.losant.com/t/what-would-be-the-reason-that-i-can-not-get-my-esp32-connected-to-losant-platform/4153>\
**Category:** Help\
**Tags:** edge\
**Created:** [October 29, 2021, 3:42pm UTC](https://forums.losant.com/t/what-would-be-the-reason-that-i-can-not-get-my-esp32-connected-to-losant-platform/4153 "2021-10-29T15:42:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Heath](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/heath/32/3036_2.png) [@Heath](https://forums.losant.com/u/Heath)\
**Post date:** [October 29, 2021, 3:53pm UTC](https://forums.losant.com/t/what-would-be-the-reason-that-i-can-not-get-my-esp32-connected-to-losant-platform/4153/2 "2021-10-29T15:53:01Z")

</div>

Hello @Custos.us,

Welcome to the Losant forums, we’re happy to have you!

You can check out [this post](https://forums.losant.com/t/esp32-lwmqtt-network-failed-connect/4006/10) to see if the code there helps you. A quick gist of what could be happening:

> …prior to 2019, the root CA that Losant’s certificate chained down to came on the ESP32 by default. In 2019, some changes were made and that was no longer the case. Now, to use a secure connection to Losant, you either need to set the root CA on the device, or not verify the certificate coming from the server (not really that secure).

Please let me know if this works for you.

Thank you,  
Heath

---

_[View the full topic](https://forums.losant.com/t/what-would-be-the-reason-that-i-can-not-get-my-esp32-connected-to-losant-platform/4153)._
