-
@mshioji mentions ssl/tls support on http request node in #120 I think that HTTP and MQTT client nodes support TLS now, but WebSocket out node doesn't support TLS yet. (wss://url without TLS option) Is it possible to support TLS option in WebSocket out node ? ws://url without TLS works fine on my environment :-) |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 10 replies
-
@kitazaki – As you observed, TLS is not currently implemented for WebSockets under Node-RED MCU. It is possible. However, it is a little complicated. The challenge is propagating the TLS configuration (certificate, etc) through the stack:
Both the I have always intended to support TLS for the WebSocket Nodes. If it was easy, it would be done. ;) Maybe I can find some time to take another look. |
Beta Was this translation helpful? Give feedback.
-
the flow is below. It works fine for my environment. |
Beta Was this translation helpful? Give feedback.
-
Hello, @phoddie , @kitazaki , I just curious that if I running WebSocket server on the cloud-Node-RED with "Websocket-In" node by "Listen On", I mean...
(In a similar case, aedes MQTT Broker node has an explicit TLS setting.) Thank you, have a good day! |
Beta Was this translation helpful? Give feedback.
-
Hi @kitazaki -san, Thank you for the information, oh, Node-RED settings.js works for it! ... there are many options in settings.js! ^^ |
Beta Was this translation helpful? Give feedback.
Thanks for the good news and for sharing the image of the flow. The exception when there is input received but no WebSocket In node is unrelated to TLS. It could happen with an unsecured ws: connection.
Since this is a Q&A thread, would you please make it as answered?