filmov
tv
SSL certificate in Hass.io & Home Assistant Core on Synology - #024

Показать описание
00:00 Intro
Thanks andilge for pointing me to this one!
00:57 - First step is to locate certificate. For that we open terminal application and go to folder:
/usr/syno/etc/certificate/system/default
02:15 - Using Synology - Control Panel - Task Scheduler, create new task. Give it a name and go to Task settings, where you have to copy following script:
SRC="/usr/syno/etc/certificate/system/default"
/usr/syno/bin/synowebapi --exec api=SYNO.Docker.Container version=1 method=restart name=homeassistant
fi
Please verify that first two folders are according to your setup. By default they should be like this.
http:
You can now run script so it can copy certificates for the first time.
09:11 - If you have problem and your system seems to be running on Synology Inc. certificate, check if you have other certificates by looking in terminal to this folder:
/usr/syno/etc/certificate/_archive
If you cant access folder, first use command "sudo -i" to elevate your access rights.
13:11 - Verify also if your SSL certificates are in /usr/syno/etc/certificate/system/default or some other sufolder in /usr/syno/etc/certificate/_archive AND check Docker container name in script as it should match Docker container name in Synology.
13: 35 - Scripts also goes to Control Panel - Task Scheduler:
SRC="/usr/syno/etc/certificate/system/default"
DEST="/volume1/docker/home-assistant"
/usr/syno/bin/synowebapi --exec api=SYNO.Docker.Container version=1 method=restart name=home-assistant
fi
http:
Thank you for watching this video. If you have any questions or comments , please leave them below or contact me on the Discord Server.
Be safe and have fun!
BeardedTinker
Twitter: @BeardedTinker
#HomeAssistant #hassio #Letsencrypt #Synology
Комментарии