We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1781fc4 + 4f0a425 commit f373a08Copy full SHA for f373a08
examples/OTAUpdate/Cert.cpp
examples/OTAUpdate/Cert.h
examples/OTAUpdate/ESP32OTAHelper.h
@@ -4,11 +4,10 @@
4
#include <WiFiClientSecure.h>
5
#include <HTTPClient.h>
6
#include <Update.h>
7
-#include "Cert.h"
8
9
String startOtaUpdate(const String &url) {
10
WiFiClientSecure client;
11
- client.setCACert(rootCACertificate);
+ client.setInsecure();
12
13
HTTPClient https;
14
Serial.print("[startOtaUpdate()] begin...\n");
examples/OTAUpdate/ESP8266OTAHelper.h
@@ -1,8 +1,7 @@
1
#if defined(ESP8266) || defined(ARDUINO_ARCH_RP2040)
2
3
#include <Arduino.h>
-#include <time.h>
+#include <time.h>
#if defined(ARDUINO_ARCH_RP2040)
0 commit comments