esp32 with secure communication

Job ID: 31423559

Budget: $250 – $300 USD

I need an example code for Arduino ESP32:
* running in Visual Code
* The code must connect to different WiFi SSID1 or SSID2 or SSID3 through the WiFiManger library
* The connection of ESP32 to any of the WiFi (ssid1,2,3) may take a maximum of 10 seconds to establish
* The connection from ESP32 to WiFi_X must be stable and if it is interrupted it must be able to join another nearby WiFi SSID_Y
* After establishing a connection to the WiFi, you must send a JSON message every 10 minutes to a secure HTTPS or MQTT server
* The code must be updateable with OTA
Please only answer if you have experience with ESP32 and secure communication