I’ve been looking for a TLS/SSL based websockets solution for one of my projects and just found this by Real Time Logic:
They have recently open sourced a light version of SharkSSL with MQTT and websocket support which I think could be really useful for some of you. I haven’t yet tried the library as I’m first asking about their licensing options (commercial product). I believe it should be compatible with the Photon and Electron (20kB size + x.509 support). @mdma, @bko this might interest you if you haven’t seen it yet?