Page 1 of 1
How To Enable SSL
Posted: 10 Sep 2015 07:51
by islipfd19
Is there any possible way to enable SSL without breaking zwave and the web interface on Pi?
Re: How To Enable SSL
Posted: 11 Sep 2015 03:33
by pofs
No, the built-in web server module is built without SSL support. Why would you need to have SSL in the intranet?
And find.z-wave.me offers SSL for external connections.
If you need SSL that bad, make zway listen only on 127.0.0.1 interface, and use nginx with SSL to proxy requests.
Re: How To Enable SSL
Posted: 11 Sep 2015 08:49
by islipfd19
Just to see if it can be done. Yes, I would agree; why would anyone need SSL on their own private network? For the paranoid, sending a password to login to a site without SSL is risky even on a private network.
I had begun to play attempting to proxy zway using nginx but the page keeps refreshing. Which files need to be updated in zway for it to listen on 127.0.0.1? This may be the culprit to the constant refresh.
Re: How To Enable SSL
Posted: 11 Sep 2015 10:48
by pofs
In automation/Webserver.js replace
Code: Select all
ws = new WebServer(8083, function(req) {
with
Code: Select all
ws = new WebServer("127.0.0.1:8083", function(req) {
Re: How To Enable SSL
Posted: 11 Sep 2015 16:36
by islipfd19
Great, thanks! After updating that file I still had issues with getting it to work. But I finally got it to work. For those that may also be interested; I'll type up a how to in the recipes sub-forum.
Re: How To Enable SSL
Posted: 11 Sep 2015 17:25
by pz1
islipfd19 wrote:G I'll type up a how to in the recipes sub-forum.
Are you aware of
Dolpheen's post there Is there a need to update that one? (I have no knowledge of this so I can't judge)
Re: How To Enable SSL
Posted: 11 Sep 2015 17:49
by islipfd19
Yes, I'm aware of his post and tried following it. It didn't work and I'm not entirely sure why, I believe it has something to do with .htpasswd. The latest version 2.1.1 now using authentication.
Could you close this thread? I created the How To located here
viewtopic.php?f=3424&t=22053
Locked by moderator