diff --git a/cert/cert.py b/cert/cert.py index a7c646540..43e95741d 100644 --- a/cert/cert.py +++ b/cert/cert.py @@ -42,8 +42,8 @@ def printData(data, showPub = True): name = re.sub('[^a-zA-Z0-9_]', '_', cn) print('// CN: {} => name: {}'.format(cn, name)) - print('// not valid before:', xcert.not_valid_before) - print('// not valid after: ', xcert.not_valid_after) + print('// not valid before:', xcert.not_valid_before_utc) + print('// not valid after: ', xcert.not_valid_after_utc) if showPub: diff --git a/platformio/include/cert.h b/platformio/include/cert.h index 5c8717e50..606b1df36 100644 --- a/platformio/include/cert.h +++ b/platformio/include/cert.h @@ -1,6 +1,6 @@ // this file is autogenerated - any modification will be overwritten // unused symbols will not be linked in the final binary -// generated on 2023-12-17 00:18:32 +// generated on 2024-05-08 22:04:27 // by 'cert.py -s api.openweathermap.org -p 443 -n openweathermap' // alternatively, the certificate chain can be extracted using openssl @@ -13,8 +13,8 @@ // certificate chain for api.openweathermap.org:443 // CN: *.openweathermap.org => name: __openweathermap_org -// not valid before: 2023-06-30 00:00:00 -// not valid after: 2024-07-30 23:59:59 +// not valid before: 2023-06-30 00:00:00+00:00 +// not valid after: 2024-07-30 23:59:59+00:00 const char fingerprint___openweathermap_org[] PROGMEM = "a6:2a:18:c6:c9:81:08:64:ba:69:73:ef:44:1e:0a:a3:fe:fa:a5:4d"; const char pubkey___openweathermap_org[] PROGMEM = R"PUBKEY( -----BEGIN PUBLIC KEY----- @@ -30,8 +30,8 @@ TQIDAQAB // http://crt.sectigo.com/SectigoRSADomainValidationSecureServerCA.crt // CN: Sectigo RSA Domain Validation Secure Server CA => name: Sectigo_RSA_Domain_Validation_Secure_Server_CA -// not valid before: 2018-11-02 00:00:00 -// not valid after: 2030-12-31 23:59:59 +// not valid before: 2018-11-02 00:00:00+00:00 +// not valid after: 2030-12-31 23:59:59+00:00 const char cert_Sectigo_RSA_Domain_Validation_Secure_Server_CA[] PROGMEM = R"CERT( -----BEGIN CERTIFICATE----- MIIGEzCCA/ugAwIBAgIQfVtRJrR2uhHbdBYLvFMNpzANBgkqhkiG9w0BAQwFADCB @@ -72,8 +72,8 @@ yOGBQMkKW+ESPMFgKuOXwIlCypTPRpgSabuY0MLTDXJLR27lk8QyKGOHQ+SwMj4K // http://crt.usertrust.com/USERTrustRSAAddTrustCA.crt // CN: USERTrust RSA Certification Authority => name: USERTrust_RSA_Certification_Authority -// not valid before: 2019-03-12 00:00:00 -// not valid after: 2028-12-31 23:59:59 +// not valid before: 2019-03-12 00:00:00+00:00 +// not valid after: 2028-12-31 23:59:59+00:00 const char cert_USERTrust_RSA_Certification_Authority[] PROGMEM = R"CERT( -----BEGIN CERTIFICATE----- MIIFgTCCBGmgAwIBAgIQOXJEOvkit1HX02wQ3TE1lTANBgkqhkiG9w0BAQwFADB7