dong2006 发表于 2023-4-2 21:59:30

acme.sh不能自动续期了,帮忙看看啥原因

Running cmd: cron
Using config home:/usr/local/acme.sh
default_acme_server
ACME_DIRECTORY='https://acme.zerossl.com/v2/DV90'
===Starting cron===
Using config home:/usr/local/acme.sh
ACME_DIRECTORY='https://acme.zerossl.com/v2/DV90'
_stopRenewOnError
_server
_set_level='2'
di='/usr/local/nginx/conf/ssl/xx.com/'
d='xx.com'
_renewServer
Using config home:/usr/local/acme.sh
ACME_DIRECTORY='https://acme.zerossl.com/v2/DV90'
DOMAIN_PATH='/usr/local/nginx/conf/ssl/xx.com'
Renew: 'xx.com'
Le_API='https://acme-v02.api.letsencrypt.org/directory'
Renew to Le_API=https://acme-v02.api.letsencrypt.org/directory
Using config home:/usr/local/acme.sh
ACME_DIRECTORY='https://acme-v02.api.letsencrypt.org/directory'
_main_domain='xx.com'
_alt_domains='*.xx.com'
Le_NextRenewTime='****0192154'
Using ACME_DIRECTORY: https://acme-v02.api.letsencrypt.org/directory
_init api for server: https://acme-v02.api.letsencrypt.org/directory
GET
url='https://acme-v02.api.letsencrypt.org/directory'
timeout=
_CURL='curl --silent --dump-header /usr/local/acme.sh/http.header-L-g '
ret='0'
ACME_KEY_CHANGE='https://acme-v02.api.letsencrypt.org/acme/key-change'
ACME_NEW_AUTHZ
ACME_NEW_ORDER='https://acme-v02.api.letsencrypt.org/acme/new-order'
ACME_NEW_ACCOUNT='https://acme-v02.api.letsencrypt.org/acme/new-acct'
ACME_REVOKE_CERT='https://acme-v02.api.letsencrypt.org/acme/revoke-cert'
ACME_AGREEMENT='https://letsencrypt.org/documents/LE-SA-v1.3-September-21-2022.pdf'
ACME_NEW_NONCE='https://acme-v02.api.letsencrypt.org/acme/new-nonce'
Using CA: https://acme-v02.api.letsencrypt.org/directory
_on_before_issue
_chk_main_domain='xx.com'
_chk_alt_domains='*.xx.com'
Le_LocalAddress
d='xx.com'
Check for domain='xx.com'
_currentRoot='dns_ali'
d='*.xx.com'
Check for domain='*.xx.com'
_currentRoot='dns_ali'
d
_saved_account_key_hash is not changed, skip register account.
Read key length:2048
_createcsr
Multi domain='DNS:xx.com,DNS:*.xx.com'
Getting domain auth token for each domain
d='*.xx.com'
d
url='https://acme-v02.api.letsencrypt.org/acme/new-order'
payload='{"identifiers": [{"type":"dns","value":"xx.com"},{"type":"dns","value":"*.xx.com"}]}'
RSA key
HEAD
_post_url='https://acme-v02.api.letsencrypt.org/acme/new-nonce'
_CURL='curl --silent --dump-header /usr/local/acme.sh/http.header-L-g-I'
Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35
_ret='35'
GET
url='https://acme-v02.api.letsencrypt.org/directory'
timeout=
_CURL='curl --silent --dump-header /usr/local/acme.sh/http.header-L-g '
ret='0'
POST
_post_url='https://acme-v02.api.letsencrypt.org/acme/new-order'
_CURL='curl --silent --dump-header /usr/local/acme.sh/http.header-L-g '
Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35
_ret='35'
code
Le_LinkOrder
Le_OrderFinalize
Create new order error. Le_OrderFinalize not found.
pid
No need to restore nginx, skip.
_clearupdns
dns_entries
skip dns.
_on_issue_err
Please check log file for more details: /usr/local/acme.sh/acme.sh.log
Return code: 1
Error renew xx.com.
_error_level='1'
_set_level='2'
The NOTIFY_HOOK is empty, just return.
===End cron===

licess 发表于 2023-4-3 10:40:54

Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 35
错误代码35可以参考:https://bbs.vpser.net/thread-25503-1-1.html

dong2006 发表于 2023-4-3 20:11:07

感谢回复!

猜测curl 方式被那啥给那啥了,连接不稳定,参考链接方法执行:export ACME_USE_WGET=1    通过wget方式获取。

我通过切换使用zerossl解决了

明月登楼 发表于 2023-4-24 12:01:58

最近Let's Encrypt好像很不稳定的样子,我也是切换到ZeroSSL后正常了!
页: [1]
查看完整版本: acme.sh不能自动续期了,帮忙看看啥原因