GithubHelp home page GithubHelp logo

Comments (7)

robertsLando avatar robertsLando commented on May 30, 2024 1

@papertigers Please check now and let me know, I have added an option Allow self signed certs on MQTT settings UI. Enable that flag and that will set the "rejectUnauthorized": false on connection options.

Remember to rebuild the project with npm run build to see the ui changes.

If your problem is fixed close this issue

from zwave2mqtt.

robertsLando avatar robertsLando commented on May 30, 2024

Will submit a commit with the fix today

from zwave2mqtt.

robertsLando avatar robertsLando commented on May 30, 2024

@papertigers Please pull last version and tell me if it's working.

Just add the protocol in the host url like: tls://mqtt.example.com

from zwave2mqtt.

papertigers avatar papertigers commented on May 30, 2024

Working perfectly.
Thanks!

Side note, I am using lets encrypt and I had to add the lets encrypt root cert to my local certs.
It's possible that others may be issuing a self signed cert instead and they might want a check mark in the UI for "rejectUnauthorized": false. I can open another issue for that if you would like.

from zwave2mqtt.

robertsLando avatar robertsLando commented on May 30, 2024

I think that I could add that option by default to be false. Would it be ok for you?

from zwave2mqtt.

papertigers avatar papertigers commented on May 30, 2024

I think a default of false would be bad because it exposes the user to a potential mitm attack. I think the default of true that's implied now is the right way to go. I think a user should explicitly have to click a "I am using a self signed cert" box.

from zwave2mqtt.

robertsLando avatar robertsLando commented on May 30, 2024

Yep sure you right, now I will submit the fix with the ui improovments than let me know if it works

from zwave2mqtt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.