You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hardware: ESP-12 or Wemos mini
Core Version: 2.4.0-rc2
Description
i use a standard certificate from OU = Amazon Web Services O=Amazon.com Inc. L=Seattle ST=Washington C=US vid valid Dates from 31.08.2016 till 01.01.2050.
Using espClient.loadCertificate(cert); or espClient.setCertificate(binaryCert, len); the dubug output is
Organizational Unit (OU): Amazon Web Services O=Amazon.com Inc. L=Seattle ST=Washington C=US
Not Before: Wed Aug 31 20:25:41 2016
Not After: Tue Nov 25 17:31:43 1913
there must be an problem in the time calculation (2050 --> 1913).
Problem description
Settings in IDE
Module: Generic ESP8266 Module
Flash Size: 4MB/1MB
CPU Frequency: 80Mhz?
Flash Mode: dio
Flash Frequency: 40Mhz
Upload Using: SERIAL
Reset Method: nodemcu
Sketch
// Load certificate file
File cert = SPIFFS.open("/cert.der", "r"); //replace cert.crt eith your uploaded file name
if (!cert) { Serial.println("Failed to open cert file");
} else Serial.println("Success to open cert file");
delay(1000);
if (espClient.loadCertificate(cert)) Serial.println("cert loaded\n");
else Serial.println("cert not loaded\n");
Debug Messages
Heap: 34424
=== CERTIFICATE ISSUED TO ===
Common Name (CN): AWS IoT Certificate
Organization (O):
Basic Constraints: critical, CA:FALSE, pathlen:10000
Key Usage: critical, Digital Signature
=== CERTIFICATE ISSUED BY ===
Common Name (CN):
Organization (O):
Organizational Unit (OU): Amazon Web Services O=Amazon.com Inc. L=Seattle ST=Washington C=US
Not Before: Wed Aug 31 20:25:41 2016
Not After: Tue Nov 25 17:31:43 1913
RSA bitsize: 2048
Sig Type: SHA256
messages here
any ideas ?
The text was updated successfully, but these errors were encountered:
There's currently an issue that TLS connection timeout is set too low: #3944.
I've just tried setting up a connection to AWS IoT, and after the fix to the connection timeout, connection was successful.
Please double check that you are using the right certificate, e.g. by connecting using mosquitto_pub tool.
Basic Infos
Hardware
Hardware: ESP-12 or Wemos mini
Core Version: 2.4.0-rc2
Description
i use a standard certificate from OU = Amazon Web Services O=Amazon.com Inc. L=Seattle ST=Washington C=US vid valid Dates from 31.08.2016 till 01.01.2050.
Using espClient.loadCertificate(cert); or espClient.setCertificate(binaryCert, len); the dubug output is
Organizational Unit (OU): Amazon Web Services O=Amazon.com Inc. L=Seattle ST=Washington C=US
Not Before: Wed Aug 31 20:25:41 2016
Not After: Tue Nov 25 17:31:43 1913
there must be an problem in the time calculation (2050 --> 1913).
Problem description
Settings in IDE
Module: Generic ESP8266 Module
Flash Size: 4MB/1MB
CPU Frequency: 80Mhz?
Flash Mode: dio
Flash Frequency: 40Mhz
Upload Using: SERIAL
Reset Method: nodemcu
Sketch
Debug Messages
Heap: 34424
=== CERTIFICATE ISSUED TO ===
Common Name (CN): AWS IoT Certificate
Organization (O):
Basic Constraints: critical, CA:FALSE, pathlen:10000
Key Usage: critical, Digital Signature
=== CERTIFICATE ISSUED BY ===
Common Name (CN):
Organization (O):
Organizational Unit (OU): Amazon Web Services O=Amazon.com Inc. L=Seattle ST=Washington C=US
Not Before: Wed Aug 31 20:25:41 2016
Not After: Tue Nov 25 17:31:43 1913
RSA bitsize: 2048
Sig Type: SHA256
messages here
any ideas ?
The text was updated successfully, but these errors were encountered: