It is currently Fri Aug 07, 2020 3:44 am
All times are UTC + 8 hours

Domotic and réal ssl WAN connection

home automation

Domotic and réal ssl WAN connection

Postby rezza » Tue Mar 06, 2018 1:30 pm

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
rezza
 
Posts: 21
Joined: Wed Apr 05, 2017 8:48 pm

Re: Domotic and réal ssl WAN connection

Postby father.mande » Fri Apr 06, 2018 12:30 am

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.
AS5002T / AS202TE / AS1002T
My Blog specific to my APKG : https://blog.father-mande.ovh/
User avatar
father.mande
 
Posts: 1003
Joined: Sat Sep 12, 2015 2:55 am

Return to Domoticz

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest