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

domain name gets _ecc appended then script complains it cannot find the key (as it doesn't append the _ecc) #6085

Open
bcraigie opened this issue Nov 7, 2024 · 2 comments

Comments

@bcraigie
Copy link

bcraigie commented Nov 7, 2024

Using the latest (checked for update today)

"/root/.acme.sh"/acme.sh --cron --home "/root/.acme.sh" --force --debug 2

The certificate is created with _ecc appended on the domain name, but when the renew hook runs, it does not append the _ecc so the certificate doesn't get hooked into Plesk although it has been renewed.

[Thu Nov 7 15:06:15 UTC 2024] Your cert is in: /root/.acme.sh/some_domain.com_ecc/some_domain.com.cer
[Thu Nov 7 15:06:15 UTC 2024] Your cert key is in: /root/.acme.sh/some_domain.com_ecc/some_domain.com.key
[Thu Nov 7 15:06:15 UTC 2024] The intermediate CA cert is in: /root/.acme.sh/some_domain.com_ecc/ca.cer
[Thu Nov 7 15:06:15 UTC 2024] And the full-chain cert is in: /root/.acme.sh/some_domain.com_ecc/fullchain.cer
[Thu Nov 7 15:06:15 UTC 2024] Running renew hook: '/usr/sbin/plesk bin certificate -u acme.sh_wildcard -domain some_domain.com -key-file ~/.acme.sh/some_domain.com/some_domain.com.key -cert-file ~/.acme.sh/some_domain.com/some_domain.com.cer -cacert-file ~/.acme.sh/some_domain.com/ca.cer'
Unable to update certificate acme.sh_wildcard: File /root/.acme.sh/some_domain.com/some_domain.com.key does not exists

exit status 1
[Thu Nov 7 15:06:16 UTC 2024] Error encountered while running renew hook.
[Thu Nov 7 15:06:16 UTC 2024] Error calling hook.
[Thu Nov 7 15:06:16 UTC 2024] Error renewing some_domain.com_ecc.
[Thu Nov 7 15:06:16 UTC 2024] ===End cron===

Copy link

github-actions bot commented Nov 7, 2024

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.

@bcraigie
Copy link
Author

bcraigie commented Nov 8, 2024

As previously advised, already updated to latest release. Relevant debug 2 output provided.

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