SSL not working Topic is solved

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
desertdog
Posts: 84
Joined: Sunday 14 August 2016 13:45
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Netherlands
Contact:

SSL not working

Post by desertdog »

I can not connect to domoticz on port 443. Connecting via http on port 8080 works.
/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"
/etc/init.d/domoticz.sh has:

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"
/etc/domoticz/SetupVars.conf has

Code: Select all

Dest_folder=/home/pi/domoticz
Enable_http=true
HTTP_port=8080
Enable_https=true
HTTPS_port=443
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?
desertdog
Posts: 84
Joined: Sunday 14 August 2016 13:45
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.1
Location: Netherlands
Contact:

Re: SSL not working

Post by desertdog »

I solved the problem. I just leave this post here if other people run into the same thing.

Domoticz uses it's own web server and not the Apache which was installed. Apache uses the 433 port too. I changed the port number Apache uses for SSL in the ports.conf file (in the folder /etc/apache2) en rebooted
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest