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

WSS support for client #9

Closed
fhernand opened this issue Jul 23, 2015 · 4 comments
Closed

WSS support for client #9

fhernand opened this issue Jul 23, 2015 · 4 comments

Comments

@fhernand
Copy link

Is it possible to connect via wss to a server from a arduinoWebSockets client?

@Links2004
Copy link
Owner

WSS is not possible until we get SSL support on the ESP (Arduino)
esp8266/Arduino#43

@bnh129
Copy link

bnh129 commented Nov 6, 2015

It looks like SSL client support is now available in esp8266/Arduino, are there any plans to support it with arduinoWebSockets?

@Links2004
Copy link
Owner

client support is possible, server support not.
getting the client to use SSL/TLS shut be easy.

change WiFiClient to WiFiClientSecure
https://github.com/Links2004/arduinoWebSockets/blob/master/src/WebSockets.h#L79

may implement a fingerprint check like.
https://github.com/esp8266/Arduino/blob/master/libraries/ESP8266WiFi/examples/HTTPSRequest/HTTPSRequest.ino#L51-L55

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