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

Unable to find certificate: "" and is not set. #5179

Open
NeckBozia opened this issue Jun 18, 2024 · 3 comments
Open

Unable to find certificate: "" and is not set. #5179

NeckBozia opened this issue Jun 18, 2024 · 3 comments

Comments

@NeckBozia
Copy link

Steps to reproduce

docker中运行acme,SYNO_Certificate参数设置为”“,定时运行脚本

bash /volume1/docker/Acme/cert-up-docker.sh >>/volume1/docker/Acme/log.txt 2>&1

更新证书时报错 Unable to find certificate: "" and is not set.
此报错可稳定复现且未作任何配置改动

Debug log

[Tue Jun 18 11:52:32 UTC 2024] Your cert is in: /acme.sh/aaa.wang_ecc/aaa.wang.cer
[Tue Jun 18 11:52:32 UTC 2024] Your cert key is in: /acme.sh/aaa.wang_ecc/aaa.wang.key
[Tue Jun 18 11:52:32 UTC 2024] The intermediate CA cert is in: /acme.sh/aaa.wang_ecc/ca.cer
[Tue Jun 18 11:52:32 UTC 2024] And the full chain certs is there: /acme.sh/aaa.wang_ecc/fullchain.cer
[Tue Jun 18 11:52:32 UTC 2024] The domain 'aaa.wang' seems to have a ECC cert already, lets use ecc cert.
[Tue Jun 18 11:52:33 UTC 2024] Logging into localhost:5000...
[Tue Jun 18 11:52:33 UTC 2024] Getting certificates in Synology DSM...
[Tue Jun 18 11:52:34 UTC 2024] Unable to find certificate: "" and is not set.
[Tue Jun 18 11:52:34 UTC 2024] Error deploy for domain:aaa.wang
[Tue Jun 18 11:52:34 UTC 2024] Deploy error.

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.

@sloganlau
Copy link

I have the same issue with the latest image version(20240430)
If set SYNO_Create=my domain, cer can be deployed with a new one instead of renew.
加了这个变量后能上传,但是会新建一个,而不是替换原来的

@sloganlau
Copy link

I have the same issue with the latest image version(20240430) If set SYNO_Create=my domain, cer can be deployed with a new one instead of renew. 加了这个变量后能上传,但是会新建一个,而不是替换原来的

change the default cer's desc from blank to ""

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

2 participants