format update

master
florid2 2017-06-28 15:25:45 +10:00
parent 889f931732
commit dc41cbb056
1 changed files with 9 additions and 3 deletions

@ -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. 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. 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: 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. 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 * 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. * 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 * Task setting: User-defined-script
`rsync -avzh /usr/syno/etc/certificate/_archive/**vPATH**/ /usr/syno/etc/certificate/system/default/` `rsync -avzh /usr/syno/etc/certificate/_archive/**vPATH**/ /usr/syno/etc/certificate/system/default/`
`/usr/syno/etc/rc.sysv/nginx.sh reload ` `/usr/syno/etc/rc.sysv/nginx.sh reload `
Now you should all good. Now you should all good.
--------------------------------------------------------------------------------------------------------------------
HTH HTH