Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Prabindas001 opened this issue Jun 18, 2021 · 1 comment

Comments

@Prabindas001
Copy link

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

@impactro
Copy link

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants