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
Triggered _on_issue_err with "config file is empty, can not read CA_KEY_HASH" notice before #5104
Comments
Please upgrade to the latest code and try again first. Maybe it's already fixed. |
log with --debug 2[Mon Apr 22 09:27:54 UTC 2024] Lets find script dir. [Mon Apr 22 09:27:55 UTC 2024] _on_before_issue |
Steps to reproduce
My system: Ubuntu 22
Already update acme.sh with
acme.sh --upgrade
But failed when issuing as:
acme.sh --issue -d www.hutdoo.info -w /home/web/webpage
Debug log
[Mon Apr 22 09:08:48 UTC 2024] _on_before_issue
[Mon Apr 22 09:08:48 UTC 2024] _chk_main_domain='www.hutdoo.info'
[Mon Apr 22 09:08:48 UTC 2024] _chk_alt_domains
[Mon Apr 22 09:08:48 UTC 2024] '/home/web/webpage' does not contain 'no'
[Mon Apr 22 09:08:48 UTC 2024] Le_LocalAddress
[Mon Apr 22 09:08:48 UTC 2024] d='www.hutdoo.info'
[Mon Apr 22 09:08:48 UTC 2024] Check for domain='www.hutdoo.info'
[Mon Apr 22 09:08:48 UTC 2024] _currentRoot='/home/web/webpage'
[Mon Apr 22 09:08:48 UTC 2024] d
[Mon Apr 22 09:08:48 UTC 2024] '/home/web/webpage' does not contain 'apache'
[Mon Apr 22 09:08:48 UTC 2024]_r_c_f='/root/.acme.sh/ca/acme-v02.api.letsencrypt.org/directory/ca.conf'
[Mon Apr 22 09:08:48 UTC 2024]_sdkey='CA_KEY_HASH'
[Mon Apr 22 09:08:48 UTC 2024] config file is empty, can not read CA_KEY_HASH
[Mon Apr 22 09:08:48 UTC 2024] _saved_account_key_hash
[Mon Apr 22 09:08:48 UTC 2024] _initpath
[Mon Apr 22 09:08:48 UTC 2024] Using config home:/root/.acme.sh
[Mon Apr 22 09:08:48 UTC 2024] ACME_DIRECTORY='https://acme-v02.api.letsencrypt.org/directory'
[Mon Apr 22 09:08:48 UTC 2024] _ACME_SERVER_HOST='acme-v02.api.letsencrypt.org'
[Mon Apr 22 09:08:48 UTC 2024] _ACME_SERVER_PATH='directory'
[Mon Apr 22 09:08:48 UTC 2024] _init api for server: https://acme-v02.api.letsencrypt.org/directory
[Mon Apr 22 09:08:48 UTC 2024] Only RSA or EC key is supported. keyfile=/root/.acme.sh/ca/acme-v02.api.letsencrypt.org/directory/account.key
[Mon Apr 22 09:08:48 UTC 2024]
[Mon Apr 22 09:08:48 UTC 2024] _on_issue_err
[Mon Apr 22 09:08:48 UTC 2024] Please check log file for more details: /root/.acme.sh/acme.sh.log
[Mon Apr 22 09:08:48 UTC 2024] _chk_vlist
I checked:
The file /root/.acme.sh/ca/acme-v02.api.letsencrypt.org/directory/ca.conf doesn't exist. Only file account.key exist.
root@secure-laser-1:~/.acme.sh/ca/acme-v02.api.letsencrypt.org/directory# ll
total 8
drwxr-xr-x 2 root root 4096 Apr 22 06:02 ./
drwxr-xr-x 3 root root 4096 Apr 21 05:06 ../
-rw------- 1 root root 0 Apr 21 05:06 account.key
The text was updated successfully, but these errors were encountered: