Post to HTTPS with ESP8266 / ESP32

The main difference between posting to http and https is using WiFiClientSecure instead of WiFiClient and using client.setCACert(); We need our endpoint’s root certificate to establish communication with HTTPS pages. ‘root_ca’ variable is holding our endpoint’s root certificate. We need to know which certificate our endpoint is using. So we can gather it with different […]