I'm using a self-signed certificate.
In mosquitto.conf:
_listener 9883
protocol websockets
cafile C:\Program Files\mosquitto\certs\ca.crt
certfile C:\Program Files\mosquitto\certs\server.crt
keyfile C:\Program Files\mosquitto\certs\server.key_
And in my web client:
_host = "192.168.1.105";
port = 9883;
useSSL: true_
But in Chrome, i got: WebSocket connection to 'wss://192.168.1.105:9883/mqtt' failed
and on the mosquitto debug output (-v option), I get nothing.