How to handle Certificate and SPIFFS update
Hi All out there ... I'm still a newbe after three month, but got a few different ESP32 projects to run. As I haven't found sufficient enough information at the WIKI, Discord and from "Mrs Google", I'll try this new channel.
I have started quite well and running my Solartrol project, which I really need to update OTA and like the others to do as well. Just as I changed to use SPIFFS for hosting webserver files a month ago. Since then I'm getting a reply from the IoTAppStory server, that the cerificate is missing... and no updates. So I did the updates in the classical way through USB tll yesterday. Then I installed the basic sketch from Arduino IDE and updated with my project sketch - successfully. But again I can only update through the configuration mode andneed to update the certificate everytime.
I asume, that it is due to a full image update of SPIFFS every time and so overwriting the stored certificate with my new created files.
I'm using PlatformIO and created a cert folder under data, where I (today)stored a copy of the iasRootCa.cer file from GitHub (WebAppToggleBtn example). This still does not solve the problem.
PLEASE help me to understand (first of all) the issues and then give a (step wise explanation) helping hand.
THANKS in advance - I really like this platform !
PS: If you need further infromation, I'll try to deliver asap