Is it possible to use SSL certificates with Websocket protocol? #856
Unanswered
tukusejssirs
asked this question in
Q&A
Replies: 1 comment 11 replies
-
wss require https, you have to also set the https options with key/cert and set the ws flag to true https://github.com/moscajs/aedes-server-factory/blob/main/index.js#L61 |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to use WSS protocol, so I added the contents of the certificates to the options of
aedes-server-factory.createServer()
, however, while it still executes, I cannot connect to the broker usingwss://$ip:4000
, but I only withws://$ip:4000
.Is it possible to force using SSL certificates with MQTT over WS?
Beta Was this translation helpful? Give feedback.
All reactions