From c8dbfb160b5c1387322eedd9499f3bbf814760a0 Mon Sep 17 00:00:00 2001 From: "Earle F. Philhower, III" Date: Tue, 6 Feb 2018 06:06:05 -0800 Subject: [PATCH] Refrech api.github.com x509 certificate (#4306) The certificate fingerprint included with the HTTPSRequest example seems to be for an expired api.github.com certificate. Replace with the current one to avoid reporting "certificate mismatch" errors when running. --- libraries/ESP8266WiFi/examples/HTTPSRequest/HTTPSRequest.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/ESP8266WiFi/examples/HTTPSRequest/HTTPSRequest.ino b/libraries/ESP8266WiFi/examples/HTTPSRequest/HTTPSRequest.ino index c8c1ec442..02310a726 100644 --- a/libraries/ESP8266WiFi/examples/HTTPSRequest/HTTPSRequest.ino +++ b/libraries/ESP8266WiFi/examples/HTTPSRequest/HTTPSRequest.ino @@ -27,7 +27,7 @@ const int httpsPort = 443; // Use web browser to view and copy // SHA1 fingerprint of the certificate -const char* fingerprint = "CF 05 98 89 CA FF 8E D8 5E 5C E0 C2 E4 F7 E6 C3 C7 50 DD 5C"; +const char* fingerprint = "35 85 74 EF 67 35 A7 CE 40 69 50 F3 C0 F6 80 CF 80 3B 2E 19"; void setup() { Serial.begin(115200);