mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-15 12:52:13 +08:00
Updated deployhooks (markdown)
@@ -638,7 +638,14 @@ The default device name is `CertRenewal`, you can select another name as your ow
|
|||||||
### Additional optional parameters
|
### Additional optional parameters
|
||||||
|
|
||||||
It's recommended to set `SYNO_Scheme` to `https`, `SYNO_Port` to `5001` and `SYNO_Hostname` to your actual DSM's domain (e.g., `nas.example.com`) instead of the defaults. Which increased security by TLS-based connection.
|
It's recommended to set `SYNO_Scheme` to `https`, `SYNO_Port` to `5001` and `SYNO_Hostname` to your actual DSM's domain (e.g., `nas.example.com`) instead of the defaults. Which increased security by TLS-based connection.
|
||||||
However, using `https` & `localhost` requires addition of the [`--insecure` command line argument](https://github.com/acmesh-official/acme.sh/wiki/Options-and-Params) to successfully deploy the certificate to DSM. Though, enabling HTTP/2 still might give you a `curl 16 error` warning, although the script succeeded anyways.
|
|
||||||
|
However, using `https` & `localhost` requires addition of the [`--insecure` command line argument](https://github.com/acmesh-official/acme.sh/wiki/Options-and-Params) to successfully deploy the certificate to DSM:
|
||||||
|
```sh
|
||||||
|
acme.sh --deploy --insecure --deploy-hook synology_dsm -d example.com
|
||||||
|
```
|
||||||
|
|
||||||
|
Though, enabling HTTP/2 still might give you a `curl 16 error` warning, although the script succeeded anyways.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
When issuing a certificate (e.g., Let's Encrypt) for the first time instead of renewing it, `export SYNO_Create=1` must be executed _once_.
|
When issuing a certificate (e.g., Let's Encrypt) for the first time instead of renewing it, `export SYNO_Create=1` must be executed _once_.
|
||||||
|
|||||||
Reference in New Issue
Block a user