I am a beginner with information security and everything about SSL just goes over my head.
Currently I'm trying to get an IoT device(ESP32) to connect to an MQTT broker,
broker.losant.com:8883 in my case, over TLS. The device has been flashed with Mongoose OS which relies on mbedTLS library to secure MQTT.
The issue which I face is that mbedTL says that "The certificate is not correctly signed by the trusted CA" when I use a self signed certificate. Where can I get this trusted certificate or how am I supposed to generate it? I've been digging the internet for quite some time now but sadly, nothing is present in the Mongoose-OS docs.
Please tell me the steps I need to follow to get my secure MQTT connection up and running.