Skip to content

Commit 0ec1d4f

Browse files
committed
fix not having a default root bundle
1 parent 689d771 commit 0ec1d4f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ESP32_S2_WiFi_Tests/JSONdemo/JSONdemo.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ void setup() {
8585
#endif
8686

8787
printWifiStatus();
88-
88+
client.setInsecure(); // don't use a root cert
8989
}
9090

9191
uint32_t bytes = 0;

ESP32_S2_WiFi_Tests/WiFiSSLClient/WiFiSSLClient.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ void setup() {
5151
Serial.println("Connected to WiFi");
5252
printWifiStatus();
5353

54+
client.setInsecure(); // don't use a root cert
55+
5456
Serial.println("\nStarting connection to server...");
5557
// if you get a connection, report back via serial:
5658
if (client.connect(SERVER, 443)) {

0 commit comments

Comments
 (0)