Ciao,
For those users that have replaced the server_cert.pem with a valid one (where valid means relative to users own domain) could it be possible to include the copy of the valid cartificate in the updaterelease and updatebeta scripts?
it is quite annoyng to replace the file all the times
I've tried to change the updatebeta script, but it is overwritten in the download
ciao
M
server_cert.pem
Moderators: leecollings, remb0
- emme
- Posts: 909
- Joined: Monday 27 June 2016 11:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Milano, Italy
- Contact:
server_cert.pem
The most dangerous phrase in any language is:
"We always done this way"
"We always done this way"
-
- Posts: 11
- Joined: Monday 28 January 2019 9:29
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Contact:
Re: server_cert.pem
what is have done as a workaround is:
- Make a copy of your custom certificate in domoticz dir (i used the name custom-server_cert.pem)
- make a file (i called it extra) in same dir as updatescript (i use updatebeta)
- put this text in it
and run this command once:
and after this every time update script is run, it will add the extra lines to the script and copy your certificate
- Make a copy of your custom certificate in domoticz dir (i used the name custom-server_cert.pem)
- make a file (i called it extra) in same dir as updatescript (i use updatebeta)
- put this text in it
Code: Select all
Echo "Copying custom SSH certificate and script changes....
cp custom-server_cert.pem server_cert.pem
cat extra >> updatebeta
Code: Select all
cat extra >> updatebeta
-
- Posts: 115
- Joined: Saturday 31 August 2013 14:48
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Eindhoven (NL)
- Contact:
Re: server_cert.pem
or you can edit the domoticz.sh in /etc/init.d and change the line toemme wrote: ↑Wednesday 15 May 2019 17:52 Ciao,
For those users that have replaced the server_cert.pem with a valid one (where valid means relative to users own domain) could it be possible to include the copy of the valid cartificate in the updaterelease and updatebeta scripts?
it is quite annoyng to replace the file all the times
I've tried to change the updatebeta script, but it is overwritten in the download
ciao
M
DAEMON_ARGS="$DAEMON_ARGS -www 8080 -loglevel=1 -sslwww 443 -sslcert /home/pi/domoticz/letsencrypt_server_cert.pem"
- emme
- Posts: 909
- Joined: Monday 27 June 2016 11:02
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest
- Location: Milano, Italy
- Contact:
Re: server_cert.pem
wow...
you changed my day!!!!!
you changed my day!!!!!
The most dangerous phrase in any language is:
"We always done this way"
"We always done this way"
Who is online
Users browsing this forum: No registered users and 0 guests