I am wondering what I can be doing wrong here with setting up resilio to use https for its gui.
I have used info from these two posting:
I will write everything out what I did as I am new to this OS.
I am logged in as root so no sudo.
- Copy the SSL key/cert.
cat /etc/apache2/ssl/certs/SUBDOMAIN.seedbox.io-ssl.key > /home/USER/.config/resilio-sync/SUBDOMAIN.seedbox.io-ssl.key
cat /etc/apache2/ssl/certs/SUBDOMAIN.seedbox.io-ssl.pem > /home/USER/.config/resilio-sync/SUBDOMAIN.seedbox.io-ssl.pem
- Edit the Resilio config.
nano /etc/resilio-sync/config.json
-
Add this under “listen”, within “webui”
{
“listening_port” : 0,
“storage_path” : “/var/lib/resilio-sync/”,
“pid_file” : “/var/run/resilio-sync/sync.pid”,
“agree_to_EULA”: “yes”,
“webui” :
{
“listen” : “IP:8888”,
“force_https” : true,
“ssl_certificate” : “/home/USER/.config/resilio-sync/SUBDOMAIN.seedbox.io-ssl.pem” ,
“ssl_private_key” : “/home/USER/.config/resilio-sync/SUBDOMAIN.seedbox.io-ssl.key”
}
} -
Add lines to post-renew script
echo “cat /etc/apache2/ssl/certs/SUBDOMAIN.seedbox.io-ssl.key > /home/USER/.config/resilio-sync/SUBDOMAIN.seedbox.io-ssl.key” >> /home/USER/le-post-hook.sh
echo “chmod 0644 /home/USER/.config/resilio-sync/SUBDOMAIN.seedbox.io-ssl.key” >> /home/USER/le-post-hook.sh
echo “cat /etc/apache2/ssl/certs/SUBDOMAIN.seedbox.io-ssl.pem > /home/USER/.config/resilio-sync/SUBDOMAIN.seedbox.io-ssl.pem” >> /home/USER/le-post-hook.sh
echo “chmod 0644 /home/USER/.config/resilio-sync/SUBDOMAIN.seedbox.io-ssl.pem” >> /home/USER/le-post-hook.sh
I turn btsync off in dashboard before doing the above, but when I try to turn it back on it stays Red. I also tried to reboot the server no luck.
I assume that I did something wrong but I have no clue where, I worked from the above mentioned links.