SSL not working
Posted: Monday 06 April 2020 20:55
I can not connect to domoticz on port 443. Connecting via http on port 8080 works.
/domoticz/domoticz.sh has:
/etc/init.d/domoticz.sh has:
/etc/domoticz/SetupVars.conf has
I get some security errors and when I make an exception and continue I am directed to the Apache2 Debian Default Page and not the Domoticz page. How do I change this?
/domoticz/domoticz.sh has:
Code: Select all
DAEMON=/home/$USERNAME/domoticz/$NAME
DAEMON_ARGS="-daemon"
#DAEMON_ARGS="$DAEMON_ARGS -daemonname $NAME -pidfile $PIDFILE"
DAEMON_ARGS="$DAEMON_ARGS -www 8080"
DAEMON_ARGS="$DAEMON_ARGS -sslwww 443"
#DAEMON_ARGS="$DAEMON_ARGS -log /tmp/domoticz.txt"
#DAEMON_ARGS="$DAEMON_ARGS -syslog"
Code: Select all
DAEMON=/home/pi/domoticz/$NAME
DAEMON_ARGS="-daemon"
#DAEMON_ARGS="$DAEMON_ARGS -daemonname $NAME -pidfile $PIDFILE"
DAEMON_ARGS="$DAEMON_ARGS -www 8080"
DAEMON_ARGS="$DAEMON_ARGS -sslwww 443"
DAEMON_ARGS="$DAEMON_ARGS -log /tmp/domoticz.log"
#DAEMON_ARGS="$DAEMON_ARGS -log /tmp/domoticz.txt"
#DAEMON_ARGS="$DAEMON_ARGS -syslog"
Code: Select all
Dest_folder=/home/pi/domoticz
Enable_http=true
HTTP_port=8080
Enable_https=true
HTTPS_port=443