From dc41cbb05610e85834454bafc7495e8213ff60b1 Mon Sep 17 00:00:00 2001 From: florid2 Date: Wed, 28 Jun 2017 15:25:45 +1000 Subject: [PATCH] format update --- Synology-NAS-Guide.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Synology-NAS-Guide.md b/Synology-NAS-Guide.md index 043fc7c..4a5830e 100644 --- a/Synology-NAS-Guide.md +++ b/Synology-NAS-Guide.md @@ -45,6 +45,9 @@ Now to create your certificate: Please note, in this way it will replace/overwrite your Synology NAS system default certificate directly. +--------------------------------------------------------------------------------------------------------- +**Below are optional steps!!!** + Alternatively, you can change the certificates install path to your DSM cert library folder which will only replace the certificate you nominated, no impact to system default one. For example: @@ -70,12 +73,15 @@ The last step is to setup a schedule task to copy renewed certificates in cert l In DSM control panel, open the 'Task Scheduler' and create a new scheduled task for a user-defined script. -General Setting: Task - Update default Cert. User - root -Schedule: Setup the time according to your acme.sh crontab schedule. For example, 11:00 am of the 2nd day every month. -Task setting: User-defined-script +* General Setting: Task - Update default Cert. User - root +* Schedule: Setup the time according to your acme.sh crontab schedule. For example, 11:00 am of the 2nd day every month. +* Task setting: User-defined-script `rsync -avzh /usr/syno/etc/certificate/_archive/**vPATH**/ /usr/syno/etc/certificate/system/default/` `/usr/syno/etc/rc.sysv/nginx.sh reload ` Now you should all good. + +-------------------------------------------------------------------------------------------------------------------- + HTH \ No newline at end of file