copercini / esp8266-aws_iot

Some examples using x.509 certificates and TLSv1.2 under Arduino IDE
117 stars 50 forks source link

'class BearSSL::WiFiClientSecure' has no member named 'loadCertificate' #24

Open Prabindas001 opened 3 years ago

Prabindas001 commented 3 years ago

I am getting this error, I tried several things but couldn't get it to work. any help will be appreciated. Thanks

impactro commented 2 years ago

I have the same error: I using board 8266 version 3.0.2, and PubSubCliente version 2.8.0

mqtt_x509_DER:124:17: error: 'class BearSSL::WiFiClientSecure' has no member named 'loadCertificate' 124 | if (espClient.loadCertificate(cert)) | ^~~~~~~ mqtt_x509_DER:139:17: error: 'class BearSSL::WiFiClientSecure' has no member named 'loadPrivateKey' 139 | if (espClient.loadPrivateKey(private_key)) | ^~~~~~ exit status 1 'class BearSSL::WiFiClientSecure' has no member named 'loadCertificate'