contact@makermate.com +94 77 9485724

SSL certificates for ESP32 01s

ESP32 01 S is a widely used micro device used in IoT projects. It is highly used with MQTT protocol. In our project, we initially used locally hosted mosquito broker to connect our clients. When locally hosting security is not setup as the local network is protected. Then we hosted a freely available HiveMQ MQTT broker cloud cluster. To connect to an 3rd party cloud cluster, we need to setup security certificates on embedded devices.

We used the official documentation provided by HiveMQ to upload SSL certificates to ESP32 01S.

When you are uploading SSL certificates to the device be aware of memory constrains (EEPROM) of ESP32 01S module you use. Certificates with the program code can fully occupy your EEPROM. If you successfully upload the certificate you can use the 3rd party cloud MQTT broker without any hassle.