-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Description
I am so sorry to writing this, Please forgive me , However who change the TTL connection to BearSSL . While doing this did you check how much person effect this change ? I have used platformIO once upgraded library of esp8266 crashed. And after I have check blow link
https://github.com/esp8266/Arduino/blob/69f8cd693447404be8696527e94f3665d6318b8e/libraries/ESP8266WiFi/examples/HTTPSRequest/HTTPSRequest.ino
There is no openly explanation on web. how could I extract cert files from webpage (previously I have used https://www.youtube.com/watch?v=Wm1xKj4bKsY&t=781s
Andreas Spiess perfectly explained )
what I have done and crashed...
downloaded openssl-0.9.8k_X64.zip from below link
https://code.google.com/archive/p/openssl-for-windows/downloads
and for example open https://www.webpage.com to extracted "Base-64 encoded x.509" type *.cer file
and open cmd as administration and write below
C::\Users\cn\Desktop\openssl-0.9.8k_X64\bin>openssl x509 -pubkey -noout -in extractedFromWebPage.cer
C:\Users\cn\Desktop\openssl-0.9.8k_X64\bin>openssl x509 -fingerprint -in extractedFromWebPage.cer
after this I have prepared as much totally same as https://github.com/esp8266/Arduino/blob/69f8cd693447404be8696527e94f3665d6318b8e/libraries/ESP8266WiFi/examples/HTTPSRequest/certs.h
and I have prepared totally same
https://github.com/esp8266/Arduino/blob/69f8cd693447404be8696527e94f3665d6318b8e/libraries/ESP8266WiFi/examples/HTTPSRequest/HTTPSRequest.ino
After all things done and one week works to solve the issue connection failed
at below
if (!client.connect(host, 443)) {
Serial.println("Connection failed");
return;
}
Please, please , how could I get lower version which helps to use client.setCACert_P(caCert, caCertLen);
If there is no way to get old version , please guide me to use new one.
Best regards.