Skip to content

Usage of new functions in WiFiClientSecure.h #1762

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

Closed
noelgeorgi opened this issue Mar 12, 2016 · 2 comments
Closed

Usage of new functions in WiFiClientSecure.h #1762

noelgeorgi opened this issue Mar 12, 2016 · 2 comments

Comments

@noelgeorgi
Copy link

Any help regarding usage of these functions is appreciated:
** void setCertificate(const uint8_t* cert_data, size_t size);
void setPrivateKey(const uint8_t* pk, size_t size);

bool loadCertificate(Stream& stream, size_t size);
bool loadPrivateKey(Stream& stream, size_t size);

template
bool loadCertificate(TFile& file) {
return loadCertificate(file, file.size());
}

template
bool loadPrivateKey(TFile& file) {
return loadPrivateKey(file, file.size());
}**

I am using mqtt with ssl, so i have to provide ca.crt to esp any idea?

@sabas1080
Copy link

+1

@igrr
Copy link
Member

igrr commented Mar 12, 2016

There is an open issue regarding documentation for these methods: #1743. Closing this one as duplicate.

@igrr igrr closed this as completed Mar 12, 2016
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

3 participants