acmesh-official / acme.sh

A pure Unix shell script implementing ACME client protocol
https://acme.sh
GNU General Public License v3.0
39.33k stars 4.97k forks source link

Verify error:"error":{ #4753

Open huatianwan opened 1 year ago

huatianwan commented 1 year ago

[Wed Aug 23 11:13:14 AM CST 2023] Lets find script dir. [Wed Aug 23 11:13:14 AM CST 2023] SCRIPT='/root/.acme.sh/acme.sh' [Wed Aug 23 11:13:14 AM CST 2023] _script='/root/.acme.sh/acme.sh' [Wed Aug 23 11:13:14 AM CST 2023] _script_home='/root/.acme.sh' [Wed Aug 23 11:13:14 AM CST 2023] Using config home:/root/.acme.sh https://github.com/acmesh-official/acme.sh v3.0.7 [Wed Aug 23 11:13:14 AM CST 2023] Running cmd: issue [Wed Aug 23 11:13:14 AM CST 2023] _main_domain='photonlabs.cn' [Wed Aug 23 11:13:14 AM CST 2023] _alt_domains='no' [Wed Aug 23 11:13:14 AM CST 2023] Using config home:/root/.acme.sh [Wed Aug 23 11:13:14 AM CST 2023] default_acme_server [Wed Aug 23 11:13:14 AM CST 2023] ACME_DIRECTORY='https://acme.zerossl.com/v2/DV90' [Wed Aug 23 11:13:14 AM CST 2023] DOMAIN_PATH='/root/.acme.sh/photonlabs.cn_ecc' [Wed Aug 23 11:13:14 AM CST 2023] Le_NextRenewTime [Wed Aug 23 11:13:14 AM CST 2023] Using ACME_DIRECTORY: https://acme.zerossl.com/v2/DV90 [Wed Aug 23 11:13:14 AM CST 2023] _init api for server: https://acme.zerossl.com/v2/DV90 [Wed Aug 23 11:13:14 AM CST 2023] GET [Wed Aug 23 11:13:14 AM CST 2023] url='https://acme.zerossl.com/v2/DV90' [Wed Aug 23 11:13:14 AM CST 2023] timeout= [Wed Aug 23 11:13:14 AM CST 2023] _CURL='curl --silent --dump-header /root/.acme.sh/http.header -L -g ' [Wed Aug 23 11:13:15 AM CST 2023] ret='0' [Wed Aug 23 11:13:15 AM CST 2023] ACME_KEY_CHANGE='https://acme.zerossl.com/v2/DV90/keyChange' [Wed Aug 23 11:13:15 AM CST 2023] ACME_NEW_AUTHZ [Wed Aug 23 11:13:15 AM CST 2023] ACME_NEW_ORDER='https://acme.zerossl.com/v2/DV90/newOrder' [Wed Aug 23 11:13:15 AM CST 2023] ACME_NEW_ACCOUNT='https://acme.zerossl.com/v2/DV90/newAccount' [Wed Aug 23 11:13:15 AM CST 2023] ACME_REVOKE_CERT='https://acme.zerossl.com/v2/DV90/revokeCert' [Wed Aug 23 11:13:15 AM CST 2023] ACME_AGREEMENT='https://secure.trust-provider.com/repository/docs/Legacy/20230516_Certificate_Subscriber_Agreement_v_2_6_click.pdf' [Wed Aug 23 11:13:15 AM CST 2023] ACME_NEW_NONCE='https://acme.zerossl.com/v2/DV90/newNonce' [Wed Aug 23 11:13:15 AM CST 2023] Using CA: https://acme.zerossl.com/v2/DV90 [Wed Aug 23 11:13:15 AM CST 2023] _on_before_issue [Wed Aug 23 11:13:15 AM CST 2023] _chk_main_domain='photonlabs.cn' [Wed Aug 23 11:13:15 AM CST 2023] _chk_alt_domains [Wed Aug 23 11:13:15 AM CST 2023] Le_LocalAddress [Wed Aug 23 11:13:15 AM CST 2023] d='photonlabs.cn' [Wed Aug 23 11:13:15 AM CST 2023] Check for domain='photonlabs.cn' [Wed Aug 23 11:13:15 AM CST 2023] _currentRoot='/mnt/server/dist' [Wed Aug 23 11:13:15 AM CST 2023] d [Wed Aug 23 11:13:15 AM CST 2023] _saved_account_key_hash is not changed, skip register account. [Wed Aug 23 11:13:15 AM CST 2023] Read key length:ec-256 [Wed Aug 23 11:13:15 AM CST 2023] _createcsr [Wed Aug 23 11:13:15 AM CST 2023] Single domain='photonlabs.cn' [Wed Aug 23 11:13:15 AM CST 2023] Getting domain auth token for each domain [Wed Aug 23 11:13:15 AM CST 2023] d [Wed Aug 23 11:13:15 AM CST 2023] =======Begin Send Signed Request======= [Wed Aug 23 11:13:15 AM CST 2023] url='https://acme.zerossl.com/v2/DV90/newOrder' [Wed Aug 23 11:13:15 AM CST 2023] payload='{"identifiers": [{"type":"dns","value":"photonlabs.cn"}]}' [Wed Aug 23 11:13:15 AM CST 2023] EC key [Wed Aug 23 11:13:15 AM CST 2023] HEAD [Wed Aug 23 11:13:15 AM CST 2023] _post_url='https://acme.zerossl.com/v2/DV90/newNonce' [Wed Aug 23 11:13:15 AM CST 2023] _CURL='curl --silent --dump-header /root/.acme.sh/http.header -L -g -I ' [Wed Aug 23 11:13:17 AM CST 2023] _ret='0' [Wed Aug 23 11:13:17 AM CST 2023] POST [Wed Aug 23 11:13:17 AM CST 2023] _post_url='https://acme.zerossl.com/v2/DV90/newOrder' [Wed Aug 23 11:13:17 AM CST 2023] _CURL='curl --silent --dump-header /root/.acme.sh/http.header -L -g ' [Wed Aug 23 11:13:19 AM CST 2023] _ret='0' [Wed Aug 23 11:13:19 AM CST 2023] code='201' [Wed Aug 23 11:13:19 AM CST 2023] Le_LinkOrder='https://acme.zerossl.com/v2/DV90/order/Dg-Bc6GjLGimadaRws3Gaw' [Wed Aug 23 11:13:19 AM CST 2023] Le_OrderFinalize='https://acme.zerossl.com/v2/DV90/order/Dg-Bc6GjLGimadaRws3Gaw/finalize' [Wed Aug 23 11:13:19 AM CST 2023] =======Begin Send Signed Request======= [Wed Aug 23 11:13:19 AM CST 2023] url='https://acme.zerossl.com/v2/DV90/authz/x_GZDOTMZrzfRdZJSIJZOA' [Wed Aug 23 11:13:19 AM CST 2023] payload [Wed Aug 23 11:13:19 AM CST 2023] POST [Wed Aug 23 11:13:19 AM CST 2023] _post_url='https://acme.zerossl.com/v2/DV90/authz/x_GZDOTMZrzfRdZJSIJZOA' [Wed Aug 23 11:13:19 AM CST 2023] _CURL='curl --silent --dump-header /root/.acme.sh/http.header -L -g ' [Wed Aug 23 11:13:20 AM CST 2023] _ret='0' [Wed Aug 23 11:13:20 AM CST 2023] code='200' [Wed Aug 23 11:13:20 AM CST 2023] d='photonlabs.cn' [Wed Aug 23 11:13:20 AM CST 2023] Getting webroot for domain='photonlabs.cn' [Wed Aug 23 11:13:20 AM CST 2023] _w='/mnt/server/dist' [Wed Aug 23 11:13:20 AM CST 2023] _currentRoot='/mnt/server/dist' [Wed Aug 23 11:13:20 AM CST 2023] _authz_url='https://acme.zerossl.com/v2/DV90/authz/x_GZDOTMZrzfRdZJSIJZOA' [Wed Aug 23 11:13:20 AM CST 2023] entry='"type":"http-01","url":"https://acme.zerossl.com/v2/DV90/chall/qkCScXHKXUvq6QgrmJnTPg","status":"pending","token":"CiHIj1HSUud_7y29WevY5NJntsxXcBA4U9Da1nhKXng"' [Wed Aug 23 11:13:20 AM CST 2023] token='CiHIj1HSUud_7y29WevY5NJntsxXcBA4U9Da1nhKXng' [Wed Aug 23 11:13:20 AM CST 2023] uri='https://acme.zerossl.com/v2/DV90/chall/qkCScXHKXUvq6QgrmJnTPg' [Wed Aug 23 11:13:20 AM CST 2023] keyauthorization='CiHIj1HSUud_7y29WevY5NJntsxXcBA4U9Da1nhKXng.dFPNOJ_8LjaShxfDxZ-fDM5VadPBZJZSw0bKTOnFlfI' [Wed Aug 23 11:13:20 AM CST 2023] dvlist='photonlabs.cn#CiHIj1HSUud_7y29WevY5NJntsxXcBA4U9Da1nhKXng.dFPNOJ_8LjaShxfDxZ-fDM5VadPBZJZSw0bKTOnFlfI#https://acme.zerossl.com/v2/DV90/chall/qkCScXHKXUvq6QgrmJnTPg#http-01#/mnt/server/dist#https://acme.zerossl.com/v2/DV90/authz/x_GZDOTMZrzfRdZJSIJZOA' [Wed Aug 23 11:13:20 AM CST 2023] d [Wed Aug 23 11:13:20 AM CST 2023] vlist='photonlabs.cn#CiHIj1HSUud_7y29WevY5NJntsxXcBA4U9Da1nhKXng.dFPNOJ_8LjaShxfDxZ-fDM5VadPBZJZSw0bKTOnFlfI#https://acme.zerossl.com/v2/DV90/chall/qkCScXHKXUvq6QgrmJnTPg#http-01#/mnt/server/dist#https://acme.zerossl.com/v2/DV90/authz/x_GZDOTMZrzfRdZJSIJZOA,' [Wed Aug 23 11:13:20 AM CST 2023] d='photonlabs.cn' [Wed Aug 23 11:13:20 AM CST 2023] ok, let's start to verify [Wed Aug 23 11:13:20 AM CST 2023] Verifying: photonlabs.cn [Wed Aug 23 11:13:20 AM CST 2023] d='photonlabs.cn' [Wed Aug 23 11:13:20 AM CST 2023] keyauthorization='CiHIj1HSUud_7y29WevY5NJntsxXcBA4U9Da1nhKXng.dFPNOJ_8LjaShxfDxZ-fDM5VadPBZJZSw0bKTOnFlfI' [Wed Aug 23 11:13:20 AM CST 2023] uri='https://acme.zerossl.com/v2/DV90/chall/qkCScXHKXUvq6QgrmJnTPg' [Wed Aug 23 11:13:20 AM CST 2023] _authz_url='https://acme.zerossl.com/v2/DV90/authz/x_GZDOTMZrzfRdZJSIJZOA' [Wed Aug 23 11:13:20 AM CST 2023] _currentRoot='/mnt/server/dist' [Wed Aug 23 11:13:20 AM CST 2023] wellknown_path='/mnt/server/dist/.well-known/acme-challenge' [Wed Aug 23 11:13:20 AM CST 2023] writing token:CiHIj1HSUud_7y29WevY5NJntsxXcBA4U9Da1nhKXng to /mnt/server/dist/.well-known/acme-challenge/CiHIj1HSUud_7y29WevY5NJntsxXcBA4U9Da1nhKXng [Wed Aug 23 11:13:20 AM CST 2023] =======Begin Send Signed Request======= [Wed Aug 23 11:13:20 AM CST 2023] url='https://acme.zerossl.com/v2/DV90/chall/qkCScXHKXUvq6QgrmJnTPg' [Wed Aug 23 11:13:20 AM CST 2023] payload='{}' [Wed Aug 23 11:13:20 AM CST 2023] POST [Wed Aug 23 11:13:20 AM CST 2023] _post_url='https://acme.zerossl.com/v2/DV90/chall/qkCScXHKXUvq6QgrmJnTPg' [Wed Aug 23 11:13:20 AM CST 2023] _CURL='curl --silent --dump-header /root/.acme.sh/http.header -L -g ' [Wed Aug 23 11:13:22 AM CST 2023] _ret='0' [Wed Aug 23 11:13:22 AM CST 2023] code='200' [Wed Aug 23 11:13:22 AM CST 2023] trigger validation code: 200 [Wed Aug 23 11:13:22 AM CST 2023] Lets check the status of the authz [Wed Aug 23 11:13:22 AM CST 2023] Processing, The CA is processing your order, please just wait. (1/30) [Wed Aug 23 11:13:22 AM CST 2023] sleep 2 secs to verify again [Wed Aug 23 11:13:25 AM CST 2023] checking [Wed Aug 23 11:13:25 AM CST 2023] =======Begin Send Signed Request======= [Wed Aug 23 11:13:25 AM CST 2023] url='https://acme.zerossl.com/v2/DV90/authz/x_GZDOTMZrzfRdZJSIJZOA' [Wed Aug 23 11:13:25 AM CST 2023] payload [Wed Aug 23 11:13:25 AM CST 2023] POST [Wed Aug 23 11:13:25 AM CST 2023] _post_url='https://acme.zerossl.com/v2/DV90/authz/x_GZDOTMZrzfRdZJSIJZOA' [Wed Aug 23 11:13:25 AM CST 2023] _CURL='curl --silent --dump-header /root/.acme.sh/http.header -L -g ' [Wed Aug 23 11:13:27 AM CST 2023] _ret='0' [Wed Aug 23 11:13:27 AM CST 2023] code='200' [Wed Aug 23 11:13:27 AM CST 2023] Pending, The CA is processing your order, please just wait. (2/30) [Wed Aug 23 11:13:27 AM CST 2023] sleep 2 secs to verify again [Wed Aug 23 11:13:30 AM CST 2023] checking [Wed Aug 23 11:13:30 AM CST 2023] =======Begin Send Signed Request======= [Wed Aug 23 11:13:30 AM CST 2023] url='https://acme.zerossl.com/v2/DV90/authz/x_GZDOTMZrzfRdZJSIJZOA' [Wed Aug 23 11:13:30 AM CST 2023] payload [Wed Aug 23 11:13:30 AM CST 2023] POST [Wed Aug 23 11:13:30 AM CST 2023] _post_url='https://acme.zerossl.com/v2/DV90/authz/x_GZDOTMZrzfRdZJSIJZOA' [Wed Aug 23 11:13:30 AM CST 2023] _CURL='curl --silent --dump-header /root/.acme.sh/http.header -L -g ' [Wed Aug 23 11:13:32 AM CST 2023] _ret='0' [Wed Aug 23 11:13:32 AM CST 2023] code='200' [Wed Aug 23 11:13:32 AM CST 2023] photonlabs.cn:Verify error:"error":{ [Wed Aug 23 11:13:32 AM CST 2023] Debug: get token url. [Wed Aug 23 11:13:32 AM CST 2023] GET [Wed Aug 23 11:13:32 AM CST 2023] url='http://photonlabs.cn/.well-known/acme-challenge/CiHIj1HSUud_7y29WevY5NJntsxXcBA4U9Da1nhKXng' [Wed Aug 23 11:13:32 AM CST 2023] timeout=1 [Wed Aug 23 11:13:32 AM CST 2023] _CURL='curl --silent --dump-header /root/.acme.sh/http.header -L -g --connect-timeout 1' [Wed Aug 23 11:13:33 AM CST 2023] Please refer to https://curl.haxx.se/libcurl/c/libcurl-errors.html for error code: 7 [Wed Aug 23 11:13:33 AM CST 2023] ret='7' [Wed Aug 23 11:13:33 AM CST 2023] Debugging, skip removing: /mnt/server/dist/.well-known [Wed Aug 23 11:13:33 AM CST 2023] pid [Wed Aug 23 11:13:33 AM CST 2023] No need to restore nginx, skip. [Wed Aug 23 11:13:33 AM CST 2023] _clearupdns [Wed Aug 23 11:13:33 AM CST 2023] dns_entries [Wed Aug 23 11:13:33 AM CST 2023] skip dns. [Wed Aug 23 11:13:33 AM CST 2023] _on_issue_err [Wed Aug 23 11:13:33 AM CST 2023] Please add '--debug' or '--log' to check more details. [Wed Aug 23 11:13:33 AM CST 2023] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh [Wed Aug 23 11:13:33 AM CST 2023] =======Begin Send Signed Request======= [Wed Aug 23 11:13:33 AM CST 2023] url='https://acme.zerossl.com/v2/DV90/chall/qkCScXHKXUvq6QgrmJnTPg' [Wed Aug 23 11:13:33 AM CST 2023] payload='{}' [Wed Aug 23 11:13:33 AM CST 2023] POST [Wed Aug 23 11:13:33 AM CST 2023] _post_url='https://acme.zerossl.com/v2/DV90/chall/qkCScXHKXUvq6QgrmJnTPg' [Wed Aug 23 11:13:33 AM CST 2023] _CURL='curl --silent --dump-header /root/.acme.sh/http.header -L -g ' [Wed Aug 23 11:13:34 AM CST 2023] _ret='0' [Wed Aug 23 11:13:34 AM CST 2023] code='200' [Wed Aug 23 11:13:34 AM CST 2023] socat doesn't exist. [Wed Aug 23 11:13:34 AM CST 2023] Diagnosis versions: openssl:openssl OpenSSL 1.1.1 11 Sep 2018 apache: apache doesn't exist. nginx: nginx version: nginx/1.14.2 built by gcc 11.3.0 (Ubuntu 11.3.0-1ubuntu1~22.04.1) configure arguments: --prefix=/usr/local/nginx socat:

github-actions[bot] commented 1 year ago

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.

CLJComeOn commented 1 year ago

possible solution, try --server letsencrypt https://github.com/acmesh-official/acme.sh/issues/4490

Neilpang commented 1 year ago

provide the log with --debug 2

MrLiInGitHub commented 1 year ago

我也碰到了这个错误,结果是我的域名解析里面有之前添加的challenge记录没有删除才导致的报错,silly of me,不知道对你有没有帮助。