Page 1 of 1

Domotic and réal ssl WAN connection

Posted: Tue Mar 06, 2018 1:30 pm
by rezza
Hello,

In order to use controlicz, it is needed to access domoticz with a real ssl connection, on port 443 and maybe (probably) with a certificate.

As 443 port is already used, I tried to play with asustor virtual hosts, but with no success.

Could you indicate me how to do ?

Thnks

Re: Domotic and réal ssl WAN connection

Posted: Fri Apr 06, 2018 12:30 am
by father.mande
Hi,
To move to HTTPS ... just follow the domoticz documentation and change parameters in the start command line (already documented in another forum post)
shell who start domoticz is :
/usr/local/AppCentral/domoticz/CONTROL/start-stop.sh
... you have just to add SSL parameters
-sslwww for the port (forced to zero to lock it for now by me)
-sslcert file_to_cert (a default one build by domoticz is used if you don't have a real one)

To used 443 ... change in the Web server ... or used mod proxy in the web server (not virtual host) ... but no reason to force 443 ... used any other port not used in the system ... because no reason that using another port can't be permit by controlicz ... and it can be better to don't mix web server and domoticz and for security reason ...

Philippe.