MQTT over WebSockets with TLS [message #1848396] |
Wed, 01 December 2021 07:35 |
rishabh sharma Messages: 4 Registered: December 2021 |
Junior Member |
|
|
We are using the mosquitto.conf (attached in the post)
Have generated ca.crt, server.crt and server.key using openssl,
and am able to establish secure mqtt communication, when only protocol mqtt is specified in the mosquitto.conf,
Our requirement is to achieve TLS based Secure MQTT Communication over WebSockets, please suggest if the mosquitto conf which is attached is the correct one, for the use case, and then if there are any javascript client libraries which we can use to connect to the broker, so far have tried the PAHO client with which we are not able to connect.
Tried MQTT Explorer that connects in case of Encrypted mode but only when there is no additional certificate specified, in which case the doubt is how is TLS possible without a certificate.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03665 seconds