Replies: 1 comment 1 reply
-
Hello,
However, with this method, all the previously "SAVED_" lines are removed from the new ndd.conf file. An other method is to delete all the "SAVED_" lines in the ndd.conf and to export the same values before launching the deployment. Export SYNO_Scheme='http' In that way, the script should rewrite the "SAVED_" lines into the ndd.conf Hoping it could help others. |
Beta Was this translation helpful? Give feedback.
-
Hello,
Since long, I successfully renew my certificat on a docker session installed on my Synology NAS.
On February 2, my LE certificate was successfully renewed, but was not deployed. acme.sh version: 3.0.6 (first edition).
By consulting the log, I realized that the name of my certificate was not taken into account for this deployment, which prevented the deployment from taking place.
`[Thu Feb 2 00:04:42 UTC 2023] _deployApi='/root/.acme.sh/deploy/synology_dsm.sh'
[Thu Feb 2 00:04:42 UTC 2023] _cdomain='ndd.net'
[Thu Feb 2 00:04:42 UTC 2023] SYNO_Certificate 'THE NAME IS MISSING HERE'
[Thu Feb 2 00:04:42 UTC 2023] _base_url='http://172.17.0.1:5000'
[Thu Feb 2 00:04:42 UTC 2023] Getting API version
[Thu Feb 2 00:04:42 UTC 2023] GET
[Thu Feb 2 00:04:42 UTC 2023] url='http://172.17.0.1:5000/webapi/query.cgi?api=SYNO.API.Info&version=1&method=query&query=SYNO.API.Auth'
[Thu Feb 2 00:04:42 UTC 2023] timeout=
[Thu Feb 2 00:04:42 UTC 2023] _CURL='curl --silent --dump-header /acme.sh/http.header -L -g '
[Thu Feb 2 00:04:42 UTC 2023] ret='0'
[Thu Feb 2 00:04:42 UTC 2023] Logging into 172.17.0.1:5000
[Thu Feb 2 00:04:42 UTC 2023] POST
[Thu Feb 2 00:04:42 UTC 2023] _post_url='http://172.17.0.1:5000/webapi/auth.cgi?enable_syno_token=yes'
[Thu Feb 2 00:04:42 UTC 2023] _CURL='curl --silent --dump-header /acme.sh/http.header -L -g '
[Thu Feb 2 00:04:44 UTC 2023] _ret='0'
[Thu Feb 2 00:04:44 UTC 2023] token='RabpfZzxqvW0Q'
[Thu Feb 2 00:04:44 UTC 2023] Getting certificates in Synology DSM
[Thu Feb 2 00:04:44 UTC 2023] POST
[Thu Feb 2 00:04:44 UTC 2023] _post_url='http://172.17.0.1:5000/webapi/entry.cgi'
[Thu Feb 2 00:04:44 UTC 2023] _CURL='curl --silent --dump-header /acme.sh/http.header -L -g '
[Thu Feb 2 00:04:44 UTC 2023] _ret='0'
[Thu Feb 2 00:04:44 UTC 2023] escaped_certificate
[Thu Feb 2 00:04:44 UTC 2023] Unable to find certificate: and $SYNO_Create is not set
[Thu Feb 2 00:04:44 UTC 2023] Error deploy for domain:ndd.net
[Thu Feb 2 00:04:44 UTC 2023] Deploy error.
[Thu Feb 2 00:04:44 UTC 2023] Return code: 1
[Thu Feb 2 00:04:44 UTC 2023] Error renew ndd.net.`
an update of acme.sh was made on February 5 to version 3.0.6 (second edition).
I tried to launch a manual deployment with a scheduled task with this version but the result is always the same: the name of the certificate is not taken into account, which blocks the deployment.
All account.conf and ndd.conf files are correct. The name of the base64 certificate is present in the ndd.conf.
Is this problem known and how to solve it?
Beta Was this translation helpful? Give feedback.
All reactions