Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synology Dsm 7.1.1-42962 Update2 证书安装失败 #4826

Open
jerrell851 opened this issue Oct 16, 2023 · 1 comment
Open

Synology Dsm 7.1.1-42962 Update2 证书安装失败 #4826

jerrell851 opened this issue Oct 16, 2023 · 1 comment

Comments

@jerrell851
Copy link

使用Docker版acme,版本3.0.7,发帖脱敏将域名改为xxxxx.com,用户名adminroot,密码debug2。实际肯定是使用正确域名、用户名及密码。之前3.0.6使用SYNO_TOTP_SECRET这种方式安装证书是正常可用的。

Debug 2 信息如下:

/ # acme.sh --upgrade
[Mon Oct 16 03:47:44 UTC 2023] Already uptodate!
[Mon Oct 16 03:47:44 UTC 2023] Upgrade success!
/ # acme.sh --version
https://github.com/acmesh-official/acme.sh
v3.0.7
/ # acme.sh --deploy --insecure -d "xxxxx.com" -d "*.xxxxx.com" --deploy-hook synology_dsm --debug 2
[Mon Oct 16 03:48:10 UTC 2023] Lets find script dir.
[Mon Oct 16 03:48:10 UTC 2023] SCRIPT='/usr/local/bin/acme.sh'
[Mon Oct 16 03:48:10 UTC 2023] _script='/root/.acme.sh/acme.sh'
[Mon Oct 16 03:48:10 UTC 2023] _script_home='/root/.acme.sh'
[Mon Oct 16 03:48:10 UTC 2023] Using default home:/root/.acme.sh
[Mon Oct 16 03:48:10 UTC 2023] Using config home:/acme.sh
[Mon Oct 16 03:48:10 UTC 2023] LE_WORKING_DIR='/root/.acme.sh'
https://github.com/acmesh-official/acme.sh
v3.0.7
[Mon Oct 16 03:48:10 UTC 2023] Running cmd: deploy
[Mon Oct 16 03:48:10 UTC 2023] Using config home:/acme.sh
[Mon Oct 16 03:48:10 UTC 2023] default_acme_server
[Mon Oct 16 03:48:10 UTC 2023] ACME_DIRECTORY='https://acme.zerossl.com/v2/DV90'
[Mon Oct 16 03:48:10 UTC 2023] _ACME_SERVER_HOST='acme.zerossl.com'
[Mon Oct 16 03:48:10 UTC 2023] _ACME_SERVER_PATH='v2/DV90'
[Mon Oct 16 03:48:10 UTC 2023] DOMAIN_PATH='/acme.sh/xxxxx.com'
[Mon Oct 16 03:48:10 UTC 2023] DOMAIN_CONF='/acme.sh/xxxxx.com/xxxxx.com.conf'
[Mon Oct 16 03:48:10 UTC 2023] _deployApi='/root/.acme.sh/deploy/synology_dsm.sh'
[Mon Oct 16 03:48:10 UTC 2023] _cdomain='xxxxx.com'
[Mon Oct 16 03:48:10 UTC 2023] SYNO_Username='adminroot'
[Mon Oct 16 03:48:10 UTC 2023] SYNO_Password='[hidden](please add '--output-insecure' to see this value)'
[Mon Oct 16 03:48:10 UTC 2023] SYNO_Create
[Mon Oct 16 03:48:10 UTC 2023] SYNO_Device_Name
[Mon Oct 16 03:48:10 UTC 2023] SYNO_Device_ID='[hidden](please add '--output-insecure' to see this value)'
[Mon Oct 16 03:48:10 UTC 2023] SYNO_Scheme='https'
[Mon Oct 16 03:48:10 UTC 2023] SYNO_Hostname='dsm.xxxxx.com'
[Mon Oct 16 03:48:10 UTC 2023] SYNO_Port='8801'
[Mon Oct 16 03:48:10 UTC 2023] trim quotation marks
[Mon Oct 16 03:48:10 UTC 2023] SYNO_Certificate
[Mon Oct 16 03:48:10 UTC 2023] _base_url='https://dsm.xxxxx.com:8801'
[Mon Oct 16 03:48:10 UTC 2023] Getting API version
[Mon Oct 16 03:48:10 UTC 2023] GET
[Mon Oct 16 03:48:10 UTC 2023] url='https://dsm.xxxxx.com:8801/webapi/query.cgi?api=SYNO.API.Info&version=1&method=query&query=SYNO.API.Auth'
[Mon Oct 16 03:48:10 UTC 2023] timeout=
[Mon Oct 16 03:48:10 UTC 2023] _CURL='curl --silent --dump-header /acme.sh/http.header -L --trace-ascii /tmp/tmp.8Rsl0nlO0U -g --insecure '
[Mon Oct 16 03:48:10 UTC 2023] ret='0'
[Mon Oct 16 03:48:10 UTC 2023] Logging into dsm.xxxxx.com:8801
[Mon Oct 16 03:48:10 UTC 2023] WARNING: Usage of SYNO_TOTP_SECRET is deprecated!
[Mon Oct 16 03:48:10 UTC 2023] See synology_dsm.sh script or ACME.sh Wiki page for details:
[Mon Oct 16 03:48:10 UTC 2023] https://github.com/acmesh-official/acme.sh/wiki/Synology-NAS-Guide
[Mon Oct 16 03:48:10 UTC 2023] POST
[Mon Oct 16 03:48:10 UTC 2023] _post_url='https://dsm.xxxxx.com:8801/webapi/auth.cgi?enable_syno_token=yes'
[Mon Oct 16 03:48:10 UTC 2023] body='method=login&account=adminroot&passwd=debug2&api=SYNO.API.Auth&version=7&enable_syno_token=yes&otp_code=133113&device_name=certrenewal&device_id='
[Mon Oct 16 03:48:10 UTC 2023] _postContentType
[Mon Oct 16 03:48:10 UTC 2023] _CURL='curl --silent --dump-header /acme.sh/http.header -L --trace-ascii /tmp/tmp.df7TJf2K8V -g --insecure '
[Mon Oct 16 03:48:16 UTC 2023] _ret='0'
[Mon Oct 16 03:48:16 UTC 2023] Session ID
[Mon Oct 16 03:48:16 UTC 2023] SynoToken
[Mon Oct 16 03:48:16 UTC 2023] Unable to authenticate to https://dsm.xxxxx.com:8801 - check your username & password.
[Mon Oct 16 03:48:16 UTC 2023] If two-factor authentication is enabled for the user, set SYNO_Device_ID.
[Mon Oct 16 03:48:16 UTC 2023] Error deploy for domain:xxxxx.com
[Mon Oct 16 03:48:16 UTC 2023] Deploy error.

@github-actions
Copy link

Please upgrade to the latest code and try again first. Maybe it's already fixed. acme.sh --upgrade If it's still not working, please provide the log with --debug 2, otherwise, nobody can help you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant