Open vuanhachoi opened 3 years ago
This code was initially designed for axTLS, so it has different APIs of BearSSL, but you can replace it using: setTrustAnchors
and setRSACert
Like in this example: https://github.com/esp8266/Arduino/blob/da6ec83b5fdbd5b02f04cf143dcf8e158a8cfd36/libraries/ESP8266WiFi/examples/BearSSL_ServerClientCert/BearSSL_ServerClientCert.ino
Thank you for your response!
Would it be possible you can tell me where I can replace it in the code please? From the exam you gave it, can I just copy set TrustAnchors
and serRSACert
into the original code or I can copy the whole void setup()
function?
When I try uploading the code into my WeMos D1 Mini board. It gives me the error below:
Im not sure how to fix this problem. If anyone has an idea how to fix it, please help me!