Code: Select all
[ssl] https://name[.]com:8443 - ERR_SSL_PROTOCOL_ERROR
[no ssl] http://name[.]com:8443 - working ok
http://name[.]com - unify
http://name[.]com:443 - unify
On router unifi foward port:
Code: Select all
From any 8443 > Foward IP 192[.]168[.]1[.]150 | foward port 8084 I Protocol Both
Cloudflare setup
Code: Select all
- full strict
- portzilla
route url: name[.]com
route target: Proxies to a port on my domain
target port: 8443
Code: Select all
DAEMON_ARGS="$DAEMON_ARGS -www 8084"
DAEMON_ARGS="$DAEMON_ARGS -sslwww 443"
*port 443 changed to 8443 but not result. It used to work with these settings
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
-----BEGIN DH PARAMETERS-----
-----END DH PARAMETERS-----
KEY i Certificate ctrl+c /+v from cloudflare, and DH create via:
Code: Select all
cd /etc/ssl/certs
sudo openssl dhparam -out dhparam[.]pem 2048
sudo cat /etc/ssl/certs/dhparam[.]pem >> ~/domoticz/server_cert[.]pem
sudo /etc/init[.]d/domoticz[.]sh restart
domoticz logs are clear
Any idea how to debug this?