nik-zp / Vue-Mqtt

Connect to mqtt through websocket, implementation for Vuejs 2
95 stars 33 forks source link

got ERR_CERT_DATE_INVALID : Can I bypass SSL certificate? #20

Open robthepaper opened 2 years ago

robthepaper commented 2 years ago

Hi, I have a mosquitto broker which the ssl certificate is not valid. So I cannot connect to broker whereas I can with MQTT explorer which has this option to bypass the certficate validation, is it possible to bypass/ignore the validation of ssl certificate for wss connection ?

robthepaper commented 2 years ago

Found This option rejectUnauthorized: false Will give it a try