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

Misleading error message, does not display what was intended: Unable to find certificate: some_cert_name and is not set #6260

Open
DanGQc opened this issue Mar 4, 2025 · 1 comment

Comments

@DanGQc
Copy link

DanGQc commented Mar 4, 2025

Many beginner users (myself included!) seem to get this error message:

"Unable to find certificate: certificate_name and is not set."

Looking into script synology_dsm.sh, I see it is generated by this line:

_err "Unable to find certificate: $SYNO_CERTIFICATE and $SYNO_CREATE is not set."

I believe the intent was to have the following code (No variable expansion for SYNO_CREATE)

_err "Unable to find certificate: $SYNO_CERTIFICATE and SYNO_CREATE is not set."

so that the error message would say

"Unable to find certificate: certificate_name and SYNO_CREATE is not set."

This would make the message much more clear that we need to set SYNO_CREATE.

Copy link

github-actions bot commented Mar 4, 2025

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