wolfMQTT icon indicating copy to clipboard operation
wolfMQTT copied to clipboard

Support for MQTT-over-Secure-WebSockets

Open ChristianWeyer opened this issue 6 years ago • 4 comments

Hey all!

This looks like a fantastic lib :-) Are you planning to add support for MQTT-over-Secure-WebSockets?

Thanks.

ChristianWeyer avatar Oct 11 '17 17:10 ChristianWeyer

Hi Christian,

I've added MQTT over Websockets to our feature request list. You are the first to ask about supporting it.

Using our wolfSSL library for TLS and our lightweight HTTP client (code here https://github.com/wolfSSL/wolfssl/blob/master/src/wolfio.c#L585 enabled with HAVE_HTTP_CLIENT), this seems fairly easy to implement.

Does your project have a requirement to use MQTT over Websockets?

Thanks, David Garske, wolfSSL

dgarske avatar Oct 11 '17 17:10 dgarske

Yes. We need to make sure that we can pass any home router setup with an outgoing connection talking to IlT Hub. Thus using WSS in 443 would be quite safe here.

ChristianWeyer avatar Oct 11 '17 17:10 ChristianWeyer

I have a similar requirement to Christian (outgoing connection from home router) where WSS is the preferred protocol for MQTT to use. Also - thanks for the work on this lib for embedded use, very useful.

deandob avatar Nov 29 '17 22:11 deandob

gentle ping for this

lygstate avatar May 25 '21 16:05 lygstate