[SOLVED] Configure personal SSL certificate on native Domoticz web server
Posted: Friday 02 December 2016 12:07
Hi all,
I have currently installed Domoticz on my Cubietruck with the last version of Armbian and all is working fine connecting via HTTPS.
Now I want to change the default Domoticz SSL certificate with a free one delivered by STARTSSL (I've a personal domain and the DNS is managed by no-ip.com).
I created a certificate request (.CSR) and a key (.KEY), I forwarded the request to STARSSL that issued me the certificate (.PEM).
What now I ask is how to configure the certificate on the Domoticz web server.
I tried using directly the .PEM file released by adding in the /etc/init.d/domoticz.sh the line:
Obviously the file is in the folder /home/domoticz.
I restarted the service but unfortunately I cannot access the Domoticz SSL page (Chrome returns the error ERR_CONNECTION_CLOSED).
I must combine the .KEY and the .PEM files together? If so, how?
I tried to look into the wiki but I could not find anything help.
Any help appreciated
Thanks
I have currently installed Domoticz on my Cubietruck with the last version of Armbian and all is working fine connecting via HTTPS.

Now I want to change the default Domoticz SSL certificate with a free one delivered by STARTSSL (I've a personal domain and the DNS is managed by no-ip.com).
I created a certificate request (.CSR) and a key (.KEY), I forwarded the request to STARSSL that issued me the certificate (.PEM).
What now I ask is how to configure the certificate on the Domoticz web server.
I tried using directly the .PEM file released by adding in the /etc/init.d/domoticz.sh the line:
Code: Select all
DAEMON_ARGS="$DAEMON_ARGS -sslcert /home/domoticz/server_cert.pem"
I restarted the service but unfortunately I cannot access the Domoticz SSL page (Chrome returns the error ERR_CONNECTION_CLOSED).

I must combine the .KEY and the .PEM files together? If so, how?
I tried to look into the wiki but I could not find anything help.
Any help appreciated
Thanks