File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
libraries/ESP8266WiFi/examples/HTTPSRequest Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 13
13
14
14
#include < ESP8266WiFi.h>
15
15
#include < WiFiClientSecure.h>
16
+
16
17
#include " certs.h"
17
18
18
19
#ifndef STASSID
23
24
const char * ssid = STASSID;
24
25
const char * password = STAPSK;
25
26
26
- X509List cert (cert_DigiCert_Global_Root_CA );
27
+ X509List cert (cert_Sectigo_ECC_Domain_Validation_Secure_Server_CA );
27
28
28
29
void setup () {
29
30
Serial.begin (115200 );
@@ -62,7 +63,7 @@ void setup() {
62
63
Serial.print (" Connecting to " );
63
64
Serial.println (github_host);
64
65
65
- Serial.printf (" Using certificate: %s\n " , cert_DigiCert_Global_Root_CA );
66
+ Serial.printf (" Using certificate: %s\n " , cert_Sectigo_ECC_Domain_Validation_Secure_Server_CA );
66
67
client.setTrustAnchors (&cert);
67
68
68
69
if (!client.connect (github_host, github_port)) {
You can’t perform that action at this time.
0 commit comments