From d3ae96895fd062f6aed905a16ce9442cd3c795a3 Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Sat, 29 Feb 2020 15:05:16 +0100 Subject: [PATCH] new ota key --- src/network/XD0OTA.h | 45 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/src/network/XD0OTA.h b/src/network/XD0OTA.h index 7436561..36763e5 100644 --- a/src/network/XD0OTA.h +++ b/src/network/XD0OTA.h @@ -22,31 +22,30 @@ class XD0OTA { private: String deviceName; const char* fwUrlBase = "https://fwupdate.xd0.de:444/fota/"; - const char* httpsFingerprint = "37 42 61 B9 E6 EE 22 36 D1 59 67 7D 55 53 6E A4 C7 AA 60 26"; + const char* httpsFingerprint = "0D 65 0C 18 81 95 32 48 5D FA 25 9F D5 AD AC 7B FB 70 0F 8A"; const char* rootCACertificate = \ "-----BEGIN CERTIFICATE-----\n" \ - "MIID8DCCAtigAwIBAgIJAPSONy8RRejRMA0GCSqGSIb3DQEBCwUAMIGLMQswCQYD\n" \ - "VQQGEwJERTEeMBwGA1UECAwVTm9ydGhyaGluZS1XZXN0cGhhbGlhMQ4wDAYDVQQH\n" \ - "DAVFc3NlbjEPMA0GA1UECgwGeGQwLmRlMRgwFgYDVQQDDA9md3VwZGF0ZS54ZDAu\n" \ - "ZGUxITAfBgkqhkiG9w0BCQEWEmhlbmRyaWsrZGV2QHhkMC5kZTAgFw0xODA2MTYx\n" \ - "MTAzMTVaGA8yMDY4MDYxNjExMDMxNVowgYsxCzAJBgNVBAYTAkRFMR4wHAYDVQQI\n" \ - "DBVOb3J0aHJoaW5lLVdlc3RwaGFsaWExDjAMBgNVBAcMBUVzc2VuMQ8wDQYDVQQK\n" \ - "DAZ4ZDAuZGUxGDAWBgNVBAMMD2Z3dXBkYXRlLnhkMC5kZTEhMB8GCSqGSIb3DQEJ\n" \ - "ARYSaGVuZHJpaytkZXZAeGQwLmRlMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIB\n" \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oFMUMAv2hr\n" \ + "Xpb7yY8Zan0xZO8nm0l4LewM4oB64oOHFqVuYbqIm58AAMkIb/pnw4oaAKdXvMVV\n" \ + "zG3/sD+UdQOzDhgRaC4v0kTLpnexLldxcDuwpPRjrNZbb+bdS8BZWz855jiE0kmk\n" \ + "iOn7GveUb8VYEjcSCeOSa8DUmX3w553qunLkSZJPnSr5RCxZlRVRMHEOKg2YfEm/\n" \ + "fF8Uktfoam4FUPXaO++n\n" \ "-----END CERTIFICATE-----\n"; String getUpdateURL(String file, String extension); void setClock(void);