wolfSSL / wolfMQTT

wolfMQTT is a small, fast, portable MQTT client implementation, including support for TLS 1.3.
https://www.wolfssl.com
GNU General Public License v2.0
520 stars 155 forks source link

Support for MQTT-over-Secure-WebSockets #37

Open ChristianWeyer opened 6 years ago

ChristianWeyer commented 6 years ago

Hey all!

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

Thanks.

dgarske commented 6 years ago

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

ChristianWeyer commented 6 years ago

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.

deandob commented 6 years ago

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.

lygstate commented 3 years ago

gentle ping for this