Updated Synology NAS Guide (markdown)
parent
6559fc025f
commit
0f8a738c7e
|
@ -99,9 +99,9 @@ By specifying a different `SYNO_Certificate` (and set `SYNO_Create=1` for creati
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# SYNO_Certificate is the description shown under Security -> Certificates in the DSM Control Panel
|
# SYNO_Certificate is the description shown under Security -> Certificates in the DSM Control Panel
|
||||||
$ export SYNO_Certificate="A different certificate description"
|
export SYNO_Certificate="A different certificate description"
|
||||||
$ export SYNO_Create=1 # Says to create the certificate if it doesn't exist
|
export SYNO_Create=1 # Says to create the certificate if it doesn't exist
|
||||||
$ ./acme.sh --deploy --home . -d "subdomain.$CERT_DOMAIN" --deploy-hook synology_dsm
|
./acme.sh --deploy --home . -d "subdomain.$CERT_DOMAIN" --deploy-hook synology_dsm
|
||||||
```
|
```
|
||||||
|
|
||||||
## Configuring Certificate Renewal
|
## Configuring Certificate Renewal
|
||||||
|
@ -115,14 +115,13 @@ In DSM control panel, open the 'Task Scheduler' and create a new scheduled task
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
# renew certificates
|
# renew certificates
|
||||||
/usr/local/share/acme.sh/acme.sh --cron --home /usr/local/share/acme.sh/
|
./acme.sh --cron --home /usr/local/share/acme.sh/
|
||||||
```
|
```
|
||||||
|
|
||||||
## Fix a broken environment after Synology DSM upgrade
|
## Fix a broken environment after Synology DSM upgrade
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ cd /usr/local/share/acme.sh
|
./acme.sh --force --upgrade --nocron --home /usr/local/share/acme.sh
|
||||||
$ ./acme.sh --force --upgrade --nocron --home /usr/local/share/acme.sh
|
|
||||||
```
|
```
|
||||||
|
|
||||||
or manually add below line into /root/.profile
|
or manually add below line into /root/.profile
|
||||||
|
|
Loading…
Reference in New Issue