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

Add "Secure" client for default SSL connections (for use in PubSubCli… #103

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dmascord
Copy link

…ent etc)

This may not be the best way to achieve this, since there is code duplication, but it's at the very least a functional way of achieving SSL connectivity.

@dabbede
Copy link

dabbede commented Aug 23, 2017

Does it really work? I've tried it to connect to https://api.telegram.org and I could not get it working.. Reading from other forums it seems that certificates are needed in secured connections, but I have no idea how to do that..

@dmascord
Copy link
Author

dmascord commented Aug 23, 2017

It did work for me when I was trying it in April, but because the firmware is so unstable on my hardware I gave up, and switched to Micropython (which is much more stable, and SSL works there fine).
In terms of getting this to work, you will need to follow the example on https://gist.github.com/chaeplin/3223074601733fa46d4a or knolleary/pubsubclient#84 which show how to add the SSL certificate fingerprint.

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

Successfully merging this pull request may close these issues.

2 participants