Native HTTPS / SSL support
Domoticz now has native HTTPS / SSL support since Version 2.2563 (June 14th 2015)
The https port is defined in /etc/init.d/domoticz.sh
DAEMON_ARGS="$DAEMON_ARGS -www 8080 -loglevel=1" DAEMON_ARGS="$DAEMON_ARGS -sslwww 443" DAEMON_ARGS="$DAEMON_ARGS -log /var/log/domoticz.log"
- sslwww port (for example - sslwww 443). https runs by default. Set port to 0 to ensure https socket won't be open.
- sslcert file_path (for example D:\server_cert.pem or /opt/domoticz/server_cert.pem)
If no –sslcert parameter is provided, Domoticz will use a default SSL certificate "server_cert.pem" from its installation folder (emitted for domoticz.com). This default certificate will generate a security warning in your browser. But don't care. Accept the certificate and this browser won't bother you anymore.
Domoticz should be now available on https://my_domain_name.com
To access the system from outside your network, don't forget in your box/router to forwarding/NAT the ssl port (ie 443) to your system.
Procedure to generate a self certificate : http://www.domoticz.com/wiki/Native_secure_access_with_Lets_Encrypt