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
When I try uploading the code into my WeMos D1 Mini board. It gives me the error below:
C:\Users\JakeNguyen\Desktop\ESP8266\mqtt_x509_DER\mqtt_x509_DER.ino: In function 'void setup()':
mqtt_x509_DER:117:17: error: 'class BearSSL::WiFiClientSecure' has no member named 'loadCertificate'
117 | if (espClient.loadCertificate(cert))
| ^~~~~~~~~~~~~~~
mqtt_x509_DER:132:17: error: 'class BearSSL::WiFiClientSecure' has no member named 'loadPrivateKey'
132 | if (espClient.loadPrivateKey(private_key))
| ^~~~~~~~~~~~~~
mqtt_x509_DER:149:18: error: 'class BearSSL::WiFiClientSecure' has no member named 'loadCACert'
149 | if(espClient.loadCACert(ca))
| ^~~~~~~~~~
exit status 1
**'class BearSSL::WiFiClientSecure' has no member named 'loadCertificate'**
Im not sure how to fix this problem. If anyone has an idea how to fix it, please help me!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: