Domotic and réal ssl WAN connection

home automation

Moderator: Lillian.W@AST

Post Reply
rezza
Posts: 22
youtube meble na wymiar Warszawa
Joined: Wed Apr 05, 2017 8:48 pm

Domotic and réal ssl WAN connection

Post 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
User avatar
father.mande
Posts: 1807
Joined: Sat Sep 12, 2015 2:55 am
Location: La Rochelle (France)

Re: Domotic and réal ssl WAN connection

Post 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.
AS6602T / AS5202T /AS5002T / AS1002T / FS6706T
Post Reply

Return to “Domoticz”