taoqf / MQTT.js

The MQTT client for Node.js and the browser
Other
12 stars 8 forks source link

TLS auth with certificates doesn't work #6

Closed FrozenPyrozen closed 3 years ago

FrozenPyrozen commented 3 years ago

@taoqf I can't connect to mqtt broker with tls( Also I've seen that you removed 'tls' file in https://github.com/taoqf/MQTT.js/commit/24d8c0fae0e68dd81be3c33b15580bbe8091191f. Can you propose or help to find solution with it?

taoqf commented 3 years ago

Sorry for that, I could not help you out. because I don't know that much. I removed them because I hope we could use websocket for communication as the only way.that would make things easier, I think.

FrozenPyrozen commented 3 years ago

@taoqf thank you for answer, you make a great job anyway💪

FrozenPyrozen commented 3 years ago

@taoqf can we use secure websocket connection with certificates through wss with that lib?

taoqf commented 3 years ago

Yes, I think.

taoqf commented 3 years ago

with wss:xxx