Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Verify self-signed certificates with provided certificate #79

Closed
evstep opened this issue Mar 14, 2019 · 5 comments
Closed

Verify self-signed certificates with provided certificate #79

evstep opened this issue Mar 14, 2019 · 5 comments
Labels

Comments

@evstep
Copy link

evstep commented Mar 14, 2019

It's possible to have in MQTTExplorer such option like in MQTTBox, select self-signed certificates?

@thomasnordquist thomasnordquist changed the title Self signed certificates Verify self-signed certificates with provided certificate Mar 19, 2019
@thomasnordquist
Copy link
Owner

Hmm, I see why this is important.

Unsecure workarounds, for the time being, could be to:

  1. uncheck "Validate Certificate" (man-in-the-middle attack is possible, but encryption itself works)
  2. Add self-signed certificate to "Trusted Certificates" (other SSL connections may be vulnerable if someone else knows the certificates secret)

It appears that this is technically possible with the tls.connect option options.ca.
https://nodejs.org/api/tls.html#tls_tls_connect_options_callback

I'm fairly certain that I'll add this security feature in the near future.

@thomasnordquist
Copy link
Owner

What platform (operating system) are you using.
I'll try to fix it today and make a beta-release so you may test it if you like.

@evstep
Copy link
Author

evstep commented Mar 25, 2019

@thomasnordquist sorry for delay, Ubuntu 18.04

@thomasnordquist
Copy link
Owner

I prepared a beta AppImage release.

You'll find the certificate option in the advanced settings.

@thomasnordquist
Copy link
Owner

No comment probably means the test was successful (or not).
Since I've also tested the feature, I close this issue.

Will be part of the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants