acmesh-official / acme.sh

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

name.com dns integration script fails if doesn't find domain when more than 1 page of results #5051

Open mattgroves opened 8 months ago

mattgroves commented 8 months ago

Using acme.sh (latest v3.0.8) with a name.com account that has > 1000 domains results in multiple pages of results from _namecom_get_root() in .acme.sh/dnsapi/dns_namecom.sh. The final output in the JSON from this function shows:

"nextPage":2,"lastPage":2}'

The next page (2) is not retrieved, resulting in:

[Tue Mar 12 08:01:03 UTC 2024] host='<domain>.com'
[Tue Mar 12 08:01:04 UTC 2024] Unable to find domain specified.
[Tue Mar 12 08:01:04 UTC 2024] Error add txt for domain:_acme-challenge.<domain>.com

Steps to reproduce

Prepare a wildcard certificate generation with acme.sh against a name.com account that has more than 1000 domains. Example:

acme.sh --issue --dns dns_namecom -d <domain>.com -d *.<domain>.com --debug 2

Debug log

[Tue Mar 12 08:09:11 UTC 2024] _SCRIPT_='/root/.acme.sh/acme.sh'
[Tue Mar 12 08:09:11 UTC 2024] _script='/root/.acme.sh/acme.sh'
[Tue Mar 12 08:09:11 UTC 2024] _script_home='/root/.acme.sh'
[Tue Mar 12 08:09:11 UTC 2024] Using config home:/root/.acme.sh
[Tue Mar 12 08:09:11 UTC 2024] LE_WORKING_DIR='/root/.acme.sh'
https://github.com/acmesh-official/acme.sh
v3.0.8
[Tue Mar 12 08:09:11 UTC 2024] Running cmd: issue
[Tue Mar 12 08:09:11 UTC 2024] _main_domain='<domain>.com'
[Tue Mar 12 08:09:11 UTC 2024] _alt_domains='*.<domain>.com'
[Tue Mar 12 08:09:11 UTC 2024] Using config home:/root/.acme.sh
[Tue Mar 12 08:09:11 UTC 2024] default_acme_server
[Tue Mar 12 08:09:11 UTC 2024] ACME_DIRECTORY='https://acme.zerossl.com/v2/DV90'
[Tue Mar 12 08:09:11 UTC 2024] _ACME_SERVER_HOST='acme.zerossl.com'
[Tue Mar 12 08:09:11 UTC 2024] _ACME_SERVER_PATH='v2/DV90'
[Tue Mar 12 08:09:11 UTC 2024] DOMAIN_PATH='/root/.acme.sh/<domain>.com_ecc'
[Tue Mar 12 08:09:11 UTC 2024] 'dns_namecom' does not contain 'dns'
[Tue Mar 12 08:09:11 UTC 2024] Le_NextRenewTime
[Tue Mar 12 08:09:11 UTC 2024] Using ACME_DIRECTORY: https://acme.zerossl.com/v2/DV90
[Tue Mar 12 08:09:11 UTC 2024] _init api for server: https://acme.zerossl.com/v2/DV90
[Tue Mar 12 08:09:11 UTC 2024] GET
[Tue Mar 12 08:09:11 UTC 2024] url='https://acme.zerossl.com/v2/DV90'
[Tue Mar 12 08:09:11 UTC 2024] timeout=
[Tue Mar 12 08:09:11 UTC 2024] _CURL='curl --silent --dump-header /root/.acme.sh/http.header  -L  --trace-ascii /tmp/tmp.r7hObSWxI5  -g '
[Tue Mar 12 08:09:11 UTC 2024] ret='0'
[Tue Mar 12 08:09:11 UTC 2024] response='{
  "newNonce": "https://acme.zerossl.com/v2/DV90/newNonce",
  "newAccount": "https://acme.zerossl.com/v2/DV90/newAccount",
  "newOrder": "https://acme.zerossl.com/v2/DV90/newOrder",
  "revokeCert": "https://acme.zerossl.com/v2/DV90/revokeCert",
  "keyChange": "https://acme.zerossl.com/v2/DV90/keyChange",
  "meta": {
    "termsOfService": "https://secure.trust-provider.com/repository/docs/Legacy/20230516_Certificate_Subscriber_Agreement_v_2_6_click.pdf",
    "website": "https://zerossl.com",
    "caaIdentities": ["sectigo.com", "trust-provider.com", "usertrust.com", "comodoca.com", "comodo.com"],
    "externalAccountRequired": true
  }
}'
[Tue Mar 12 08:09:11 UTC 2024] ACME_KEY_CHANGE='https://acme.zerossl.com/v2/DV90/keyChange'
[Tue Mar 12 08:09:11 UTC 2024] ACME_NEW_AUTHZ
[Tue Mar 12 08:09:11 UTC 2024] ACME_NEW_ORDER='https://acme.zerossl.com/v2/DV90/newOrder'
[Tue Mar 12 08:09:11 UTC 2024] ACME_NEW_ACCOUNT='https://acme.zerossl.com/v2/DV90/newAccount'
[Tue Mar 12 08:09:11 UTC 2024] ACME_REVOKE_CERT='https://acme.zerossl.com/v2/DV90/revokeCert'
[Tue Mar 12 08:09:11 UTC 2024] ACME_AGREEMENT='https://secure.trust-provider.com/repository/docs/Legacy/20230516_Certificate_Subscriber_Agreement_v_2_6_click.pdf'
[Tue Mar 12 08:09:11 UTC 2024] ACME_NEW_NONCE='https://acme.zerossl.com/v2/DV90/newNonce'
[Tue Mar 12 08:09:12 UTC 2024] Using CA: https://acme.zerossl.com/v2/DV90
[Tue Mar 12 08:09:12 UTC 2024] _on_before_issue
[Tue Mar 12 08:09:12 UTC 2024] _chk_main_domain='<domain>.com'
[Tue Mar 12 08:09:12 UTC 2024] _chk_alt_domains='*.<domain>.com'
[Tue Mar 12 08:09:12 UTC 2024] 'dns_namecom' does not contain 'no'
[Tue Mar 12 08:09:12 UTC 2024] Le_LocalAddress
[Tue Mar 12 08:09:12 UTC 2024] d='<domain>.com'
[Tue Mar 12 08:09:12 UTC 2024] Check for domain='<domain>.com'
[Tue Mar 12 08:09:12 UTC 2024] _currentRoot='dns_namecom'
[Tue Mar 12 08:09:12 UTC 2024] d='*.<domain>.com'
[Tue Mar 12 08:09:12 UTC 2024] Check for domain='*.<domain>.com'
[Tue Mar 12 08:09:12 UTC 2024] _currentRoot='dns_namecom'
[Tue Mar 12 08:09:12 UTC 2024] d
[Tue Mar 12 08:09:12 UTC 2024] 'dns_namecom' does not contain 'apache'
[Tue Mar 12 08:09:12 UTC 2024] _saved_account_key_hash='DH3QOdmAST53T4NJWhg2gOXg4S8nVSvHuPLYikStXBg='
[Tue Mar 12 08:09:12 UTC 2024] _saved_account_key_hash is not changed, skip register account.
[Tue Mar 12 08:09:12 UTC 2024] Read key length:ec-256
[Tue Mar 12 08:09:12 UTC 2024] _createcsr
[Tue Mar 12 08:09:12 UTC 2024] domain='<domain>.com'
[Tue Mar 12 08:09:12 UTC 2024] domainlist='*.<domain>.com'
[Tue Mar 12 08:09:12 UTC 2024] csrkey='/root/.acme.sh/<domain>.com_ecc/<domain>.com.key'
[Tue Mar 12 08:09:12 UTC 2024] csr='/root/.acme.sh/<domain>.com_ecc/<domain>.com.csr'
[Tue Mar 12 08:09:12 UTC 2024] csrconf='/root/.acme.sh/<domain>.com_ecc/<domain>.com.csr.conf'
[Tue Mar 12 08:09:12 UTC 2024] _is_idn_d='*.<domain>.com'
[Tue Mar 12 08:09:12 UTC 2024] _idn_temp
[Tue Mar 12 08:09:12 UTC 2024] domainlist='*.<domain>.com'
[Tue Mar 12 08:09:12 UTC 2024] seg='<domain>'
[Tue Mar 12 08:09:12 UTC 2024] _is_idn_d='<domain>.com'
[Tue Mar 12 08:09:12 UTC 2024] _idn_temp
[Tue Mar 12 08:09:12 UTC 2024] seg='acme_install.sh'
[Tue Mar 12 08:09:12 UTC 2024] Multi domain='DNS:<domain>.com,DNS:*.<domain>.com'
[Tue Mar 12 08:09:12 UTC 2024] _is_idn_d='<domain>.com'
[Tue Mar 12 08:09:12 UTC 2024] _idn_temp
[Tue Mar 12 08:09:12 UTC 2024] _csr_cn='<domain>.com'
[Tue Mar 12 08:09:12 UTC 2024] seg='<domain>'
[Tue Mar 12 08:09:12 UTC 2024] Getting domain auth token for each domain
[Tue Mar 12 08:09:12 UTC 2024] seg='<domain>'
[Tue Mar 12 08:09:12 UTC 2024] _is_idn_d='<domain>.com'
[Tue Mar 12 08:09:12 UTC 2024] _idn_temp
[Tue Mar 12 08:09:12 UTC 2024] d='*.<domain>.com'
[Tue Mar 12 08:09:12 UTC 2024] seg='acme_install.sh'
[Tue Mar 12 08:09:12 UTC 2024] _is_idn_d='*.<domain>.com'
[Tue Mar 12 08:09:12 UTC 2024] _idn_temp
[Tue Mar 12 08:09:12 UTC 2024] d
[Tue Mar 12 08:09:12 UTC 2024] _identifiers='{"type":"dns","value":"<domain>.com"},{"type":"dns","value":"*.<domain>.com"}'
[Tue Mar 12 08:09:12 UTC 2024] _notBefore
[Tue Mar 12 08:09:12 UTC 2024] _notAfter
[Tue Mar 12 08:09:12 UTC 2024] STEP 1, Ordering a Certificate
[Tue Mar 12 08:09:12 UTC 2024] =======Begin Send Signed Request=======
[Tue Mar 12 08:09:12 UTC 2024] url='https://acme.zerossl.com/v2/DV90/newOrder'
[Tue Mar 12 08:09:12 UTC 2024] payload='{"identifiers": [{"type":"dns","value":"<domain>.com"},{"type":"dns","value":"*.<domain>.com"}]}'
[Tue Mar 12 08:09:12 UTC 2024] EC key
[Tue Mar 12 08:09:12 UTC 2024] Get nonce with HEAD. ACME_NEW_NONCE='https://acme.zerossl.com/v2/DV90/newNonce'
[Tue Mar 12 08:09:12 UTC 2024] HEAD
[Tue Mar 12 08:09:12 UTC 2024] _post_url='https://acme.zerossl.com/v2/DV90/newNonce'
[Tue Mar 12 08:09:12 UTC 2024] body
[Tue Mar 12 08:09:12 UTC 2024] _postContentType='application/jose+json'
[Tue Mar 12 08:09:12 UTC 2024] _CURL='curl --silent --dump-header /root/.acme.sh/http.header  -L  --trace-ascii /tmp/tmp.4u5BXRBihl  -g  -I  '
[Tue Mar 12 08:09:12 UTC 2024] _ret='0'
[Tue Mar 12 08:09:12 UTC 2024] _headers='HTTP/2 200 
server: nginx
date: Tue, 12 Mar 2024 08:09:12 GMT
content-type: application/octet-stream
replay-nonce: U7xJ0vbpIyTM9XWrQi1DFrWQJGY86xoMvus_0noIP8g
cache-control: max-age=0, no-cache, no-store
access-control-allow-origin: *
link: <https://acme.zerossl.com/v2/DV90>;rel="index"
strict-transport-security: max-age=15724800; includeSubDomains
'
[Tue Mar 12 08:09:12 UTC 2024] _CACHED_NONCE='U7xJ0vbpIyTM9XWrQi1DFrWQJGY86xoMvus_0noIP8g'
[Tue Mar 12 08:09:12 UTC 2024] nonce='U7xJ0vbpIyTM9XWrQi1DFrWQJGY86xoMvus_0noIP8g'
[Tue Mar 12 08:09:13 UTC 2024] POST
[Tue Mar 12 08:09:13 UTC 2024] _post_url='https://acme.zerossl.com/v2/DV90/newOrder'
[Tue Mar 12 08:09:13 UTC 2024] body='{"protected": "eyJub25jZSI6ICJVN3hKMHZicEl5VE05WFdyUWkxREZyV1FKR1k4NnhvTXZ1c18wbm9JUDhnIiwgInVybCI6ICJodHRwczovL2FjbWUuemVyb3NzbC5jb20vdjIvRFY5MC9uZXdPcmRlciIsICJhbGciOiAiRVMyNTYiLCAia2lkIjogImh0dHBzOi8vYWNtZS56ZXJvc3NsLmNvbS92Mi9EVjkwL2FjY291bnQvcEZ3UGhSSlF2QldKVkVMTlRlek1LQSJ9", "payload": "eyJpZGVudGlmaWVycyI6IFt7InR5cGUiOiJkbnMiLCJ2YWx1ZSI6ImFtYXpvbmtzLmNvbSJ9LHsidHlwZSI6ImRucyIsInZhbHVlIjoiKi5hbWF6b25rcy5jb20ifV19", "signature": "wXazcPSXArctHnEozEShlExYv-BX1gJIad1DQJIBLagjn8-nicVXbJNyHdUBIUnUhGTXpyCR7xMlxLspeDdE3Q"}'
[Tue Mar 12 08:09:13 UTC 2024] _postContentType='application/jose+json'
[Tue Mar 12 08:09:13 UTC 2024] Http already initialized.
[Tue Mar 12 08:09:13 UTC 2024] _CURL='curl --silent --dump-header /root/.acme.sh/http.header  -L  --trace-ascii /tmp/tmp.4u5BXRBihl  -g '
[Tue Mar 12 08:09:13 UTC 2024] _ret='0'
[Tue Mar 12 08:09:13 UTC 2024] responseHeaders='HTTP/2 201 
server: nginx
date: Tue, 12 Mar 2024 08:09:13 GMT
content-type: application/json
content-length: 378
replay-nonce: gJJ7CwTTeVEcSBu24jfvmiQkKRSHUCHKoDmLshfzOUI
cache-control: max-age=0, no-cache, no-store
access-control-allow-origin: *
location: https://acme.zerossl.com/v2/DV90/order/I3n-7CsZ4AAOLI7p65Rx-w
strict-transport-security: max-age=15724800; includeSubDomains
'
[Tue Mar 12 08:09:13 UTC 2024] code='201'
[Tue Mar 12 08:09:13 UTC 2024] original='{"status":"pending","expires":"2024-06-10T07:54:19Z","identifiers":[{"type":"dns","value":"<domain>.com"},{"type":"dns","value":"*.<domain>.com"}],"authorizations":["https://acme.zerossl.com/v2/DV90/authz/AOPtyRNBVQ1Z4V467CTJrw","https://acme.zerossl.com/v2/DV90/authz/1nZEs5IlJIGrIl3hUl9hVw"],"finalize":"https://acme.zerossl.com/v2/DV90/order/I3n-7CsZ4AAOLI7p65Rx-w/finalize"}'
[Tue Mar 12 08:09:13 UTC 2024] response='{"status":"pending","expires":"2024-06-10T07:54:19Z","identifiers":[{"type":"dns","value":"<domain>.com"},{"type":"dns","value":"*.<domain>.com"}],"authorizations":["https://acme.zerossl.com/v2/DV90/authz/AOPtyRNBVQ1Z4V467CTJrw","https://acme.zerossl.com/v2/DV90/authz/1nZEs5IlJIGrIl3hUl9hVw"],"finalize":"https://acme.zerossl.com/v2/DV90/order/I3n-7CsZ4AAOLI7p65Rx-w/finalize"}'
[Tue Mar 12 08:09:13 UTC 2024] Le_LinkOrder='https://acme.zerossl.com/v2/DV90/order/I3n-7CsZ4AAOLI7p65Rx-w'
[Tue Mar 12 08:09:13 UTC 2024] Le_OrderFinalize='https://acme.zerossl.com/v2/DV90/order/I3n-7CsZ4AAOLI7p65Rx-w/finalize'
[Tue Mar 12 08:09:13 UTC 2024] _authorizations_seg='https://acme.zerossl.com/v2/DV90/authz/AOPtyRNBVQ1Z4V467CTJrw,https://acme.zerossl.com/v2/DV90/authz/1nZEs5IlJIGrIl3hUl9hVw'
[Tue Mar 12 08:09:13 UTC 2024] STEP 2, Get the authorizations of each domain
[Tue Mar 12 08:09:13 UTC 2024] _authz_url='https://acme.zerossl.com/v2/DV90/authz/AOPtyRNBVQ1Z4V467CTJrw'
[Tue Mar 12 08:09:13 UTC 2024] =======Begin Send Signed Request=======
[Tue Mar 12 08:09:13 UTC 2024] url='https://acme.zerossl.com/v2/DV90/authz/AOPtyRNBVQ1Z4V467CTJrw'
[Tue Mar 12 08:09:13 UTC 2024] payload
[Tue Mar 12 08:09:13 UTC 2024] Use cached jwk for file: /root/.acme.sh/ca/acme.zerossl.com/v2/DV90/account.key
[Tue Mar 12 08:09:13 UTC 2024] Use _CACHED_NONCE='gJJ7CwTTeVEcSBu24jfvmiQkKRSHUCHKoDmLshfzOUI'
[Tue Mar 12 08:09:13 UTC 2024] nonce='gJJ7CwTTeVEcSBu24jfvmiQkKRSHUCHKoDmLshfzOUI'
[Tue Mar 12 08:09:13 UTC 2024] POST
[Tue Mar 12 08:09:13 UTC 2024] _post_url='https://acme.zerossl.com/v2/DV90/authz/AOPtyRNBVQ1Z4V467CTJrw'
[Tue Mar 12 08:09:13 UTC 2024] body='{"protected": "eyJub25jZSI6ICJnSko3Q3dUVGVWRWNTQnUyNGpmdm1pUWtLUlNIVUNIS29EbUxzaGZ6T1VJIiwgInVybCI6ICJodHRwczovL2FjbWUuemVyb3NzbC5jb20vdjIvRFY5MC9hdXRoei9BT1B0eVJOQlZRMVo0VjQ2N0NUSnJ3IiwgImFsZyI6ICJFUzI1NiIsICJraWQiOiAiaHR0cHM6Ly9hY21lLnplcm9zc2wuY29tL3YyL0RWOTAvYWNjb3VudC9wRndQaFJKUXZCV0pWRUxOVGV6TUtBIn0", "payload": "", "signature": "q_fxzez1wfkfb9Bf_0TW-dbR1d9URcPQ5on9nxlFHxEr0Gnxg42QaWrXtkPQFaE1hZ9LciL0jRM5XW6lR6ZhAA"}'
[Tue Mar 12 08:09:13 UTC 2024] _postContentType='application/jose+json'
[Tue Mar 12 08:09:13 UTC 2024] Http already initialized.
[Tue Mar 12 08:09:13 UTC 2024] _CURL='curl --silent --dump-header /root/.acme.sh/http.header  -L  --trace-ascii /tmp/tmp.4u5BXRBihl  -g '
[Tue Mar 12 08:09:14 UTC 2024] _ret='0'
[Tue Mar 12 08:09:14 UTC 2024] responseHeaders='HTTP/2 200 
server: nginx
date: Tue, 12 Mar 2024 08:09:14 GMT
content-type: application/json
content-length: 462
replay-nonce: j3D_8yfjoYxB4tQIxUrxey3aHi9X3DhUVa7R0S1Z7Sk
cache-control: max-age=0, no-cache, no-store
access-control-allow-origin: *
link: <https://acme.zerossl.com/v2/DV90>;rel="index"
retry-after: 86400
strict-transport-security: max-age=15724800; includeSubDomains
'
[Tue Mar 12 08:09:14 UTC 2024] code='200'
[Tue Mar 12 08:09:14 UTC 2024] original='{"identifier":{"type":"dns","value":"<domain>.com"},"status":"pending","expires":"2024-04-11T07:54:19Z","challenges":[{"type":"http-01","url":"https://acme.zerossl.com/v2/DV90/chall/WzJgIIUtvAZdmqyEzQWBAQ","status":"pending","token":"C4LNvGmD9oWkGEk3UOkeEBQ2G3w3igiM4x8gOZgVK5M"},{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/c2IhD6rAF1V6VXs31dzhzA","status":"processing","token":"tIpal84aFXOBaZhq_iUohea_oNjmRQBC-Lv3mIglw8g"}],"wildcard":false}'
[Tue Mar 12 08:09:14 UTC 2024] response='{"identifier":{"type":"dns","value":"<domain>.com"},"status":"pending","expires":"2024-04-11T07:54:19Z","challenges":[{"type":"http-01","url":"https://acme.zerossl.com/v2/DV90/chall/WzJgIIUtvAZdmqyEzQWBAQ","status":"pending","token":"C4LNvGmD9oWkGEk3UOkeEBQ2G3w3igiM4x8gOZgVK5M"},{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/c2IhD6rAF1V6VXs31dzhzA","status":"processing","token":"tIpal84aFXOBaZhq_iUohea_oNjmRQBC-Lv3mIglw8g"}],"wildcard":false}'
[Tue Mar 12 08:09:14 UTC 2024] response='{"identifier":{"type":"dns","value":"<domain>.com"},"status":"pending","expires":"2024-04-11T07:54:19Z","challenges":[{"type":"http-01","url":"https://acme.zerossl.com/v2/DV90/chall/WzJgIIUtvAZdmqyEzQWBAQ","status":"pending","token":"C4LNvGmD9oWkGEk3UOkeEBQ2G3w3igiM4x8gOZgVK5M"},{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/c2IhD6rAF1V6VXs31dzhzA","status":"processing","token":"tIpal84aFXOBaZhq_iUohea_oNjmRQBC-Lv3mIglw8g"}],"wildcard":false}'
[Tue Mar 12 08:09:14 UTC 2024] _d='<domain>.com'
[Tue Mar 12 08:09:14 UTC 2024] _authz_url='https://acme.zerossl.com/v2/DV90/authz/1nZEs5IlJIGrIl3hUl9hVw'
[Tue Mar 12 08:09:14 UTC 2024] =======Begin Send Signed Request=======
[Tue Mar 12 08:09:14 UTC 2024] url='https://acme.zerossl.com/v2/DV90/authz/1nZEs5IlJIGrIl3hUl9hVw'
[Tue Mar 12 08:09:14 UTC 2024] payload
[Tue Mar 12 08:09:14 UTC 2024] Use cached jwk for file: /root/.acme.sh/ca/acme.zerossl.com/v2/DV90/account.key
[Tue Mar 12 08:09:14 UTC 2024] Use _CACHED_NONCE='j3D_8yfjoYxB4tQIxUrxey3aHi9X3DhUVa7R0S1Z7Sk'
[Tue Mar 12 08:09:14 UTC 2024] nonce='j3D_8yfjoYxB4tQIxUrxey3aHi9X3DhUVa7R0S1Z7Sk'
[Tue Mar 12 08:09:14 UTC 2024] POST
[Tue Mar 12 08:09:14 UTC 2024] _post_url='https://acme.zerossl.com/v2/DV90/authz/1nZEs5IlJIGrIl3hUl9hVw'
[Tue Mar 12 08:09:14 UTC 2024] body='{"protected": "eyJub25jZSI6ICJqM0RfOHlmam9ZeEI0dFFJeFVyeGV5M2FIaTlYM0RoVVZhN1IwUzFaN1NrIiwgInVybCI6ICJodHRwczovL2FjbWUuemVyb3NzbC5jb20vdjIvRFY5MC9hdXRoei8xblpFczVJbEpJR3JJbDNoVWw5aFZ3IiwgImFsZyI6ICJFUzI1NiIsICJraWQiOiAiaHR0cHM6Ly9hY21lLnplcm9zc2wuY29tL3YyL0RWOTAvYWNjb3VudC9wRndQaFJKUXZCV0pWRUxOVGV6TUtBIn0", "payload": "", "signature": "dV-qYPXpf7x3_r-yXhy6rMqF8s38XlLvwgWn1xTH-zWF0Ey5yph27ProAfsDXJgmDfz3l7MeFc9uF7nXrTE4hQ"}'
[Tue Mar 12 08:09:14 UTC 2024] _postContentType='application/jose+json'
[Tue Mar 12 08:09:14 UTC 2024] Http already initialized.
[Tue Mar 12 08:09:14 UTC 2024] _CURL='curl --silent --dump-header /root/.acme.sh/http.header  -L  --trace-ascii /tmp/tmp.4u5BXRBihl  -g '
[Tue Mar 12 08:09:15 UTC 2024] _ret='0'
[Tue Mar 12 08:09:15 UTC 2024] responseHeaders='HTTP/2 200 
server: nginx
date: Tue, 12 Mar 2024 08:09:15 GMT
content-type: application/json
content-length: 299
replay-nonce: IR5oD_s3NQTd2gsn0rdl1-A8whD83Zwgo6kwDhxvtHM
cache-control: max-age=0, no-cache, no-store
access-control-allow-origin: *
link: <https://acme.zerossl.com/v2/DV90>;rel="index"
retry-after: 86400
strict-transport-security: max-age=15724800; includeSubDomains
'
[Tue Mar 12 08:09:15 UTC 2024] code='200'
[Tue Mar 12 08:09:15 UTC 2024] original='{"identifier":{"type":"dns","value":"<domain>.com"},"status":"pending","expires":"2024-04-11T07:54:19Z","challenges":[{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/rUAvxyTpkry8_IlKhOgGBg","status":"processing","token":"WaHnHvzRL0HU6fP8RB1STYJEQCSngj1qAMlZ3EZjA1U"}],"wildcard":true}'
[Tue Mar 12 08:09:15 UTC 2024] response='{"identifier":{"type":"dns","value":"<domain>.com"},"status":"pending","expires":"2024-04-11T07:54:19Z","challenges":[{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/rUAvxyTpkry8_IlKhOgGBg","status":"processing","token":"WaHnHvzRL0HU6fP8RB1STYJEQCSngj1qAMlZ3EZjA1U"}],"wildcard":true}'
[Tue Mar 12 08:09:15 UTC 2024] response='{"identifier":{"type":"dns","value":"<domain>.com"},"status":"pending","expires":"2024-04-11T07:54:19Z","challenges":[{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/rUAvxyTpkry8_IlKhOgGBg","status":"processing","token":"WaHnHvzRL0HU6fP8RB1STYJEQCSngj1qAMlZ3EZjA1U"}],"wildcard":true}'
[Tue Mar 12 08:09:15 UTC 2024] _d='*.<domain>.com'
[Tue Mar 12 08:09:15 UTC 2024] _authorizations_map='*.<domain>.com,{"identifier":{"type":"dns","value":"<domain>.com"},"status":"pending","expires":"2024-04-11T07:54:19Z","challenges":[{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/rUAvxyTpkry8_IlKhOgGBg","status":"processing","token":"WaHnHvzRL0HU6fP8RB1STYJEQCSngj1qAMlZ3EZjA1U"}],"wildcard":true}#https://acme.zerossl.com/v2/DV90/authz/1nZEs5IlJIGrIl3hUl9hVw
<domain>.com,{"identifier":{"type":"dns","value":"<domain>.com"},"status":"pending","expires":"2024-04-11T07:54:19Z","challenges":[{"type":"http-01","url":"https://acme.zerossl.com/v2/DV90/chall/WzJgIIUtvAZdmqyEzQWBAQ","status":"pending","token":"C4LNvGmD9oWkGEk3UOkeEBQ2G3w3igiM4x8gOZgVK5M"},{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/c2IhD6rAF1V6VXs31dzhzA","status":"processing","token":"tIpal84aFXOBaZhq_iUohea_oNjmRQBC-Lv3mIglw8g"}],"wildcard":false}#https://acme.zerossl.com/v2/DV90/authz/AOPtyRNBVQ1Z4V467CTJrw
'
[Tue Mar 12 08:09:15 UTC 2024] d='<domain>.com'
[Tue Mar 12 08:09:15 UTC 2024] Getting webroot for domain='<domain>.com'
[Tue Mar 12 08:09:15 UTC 2024] _w='dns_namecom'
[Tue Mar 12 08:09:15 UTC 2024] _currentRoot='dns_namecom'
[Tue Mar 12 08:09:15 UTC 2024] _is_idn_d='<domain>.com'
[Tue Mar 12 08:09:15 UTC 2024] _idn_temp
[Tue Mar 12 08:09:15 UTC 2024] _candidates='<domain>.com,{"identifier":{"type":"dns","value":"<domain>.com"},"status":"pending","expires":"2024-04-11T07:54:19Z","challenges":[{"type":"http-01","url":"https://acme.zerossl.com/v2/DV90/chall/WzJgIIUtvAZdmqyEzQWBAQ","status":"pending","token":"C4LNvGmD9oWkGEk3UOkeEBQ2G3w3igiM4x8gOZgVK5M"},{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/c2IhD6rAF1V6VXs31dzhzA","status":"processing","token":"tIpal84aFXOBaZhq_iUohea_oNjmRQBC-Lv3mIglw8g"}],"wildcard":false}#https://acme.zerossl.com/v2/DV90/authz/AOPtyRNBVQ1Z4V467CTJrw'
[Tue Mar 12 08:09:15 UTC 2024] response='{"identifier":{"type":"dns","value":"<domain>.com"},"status":"pending","expires":"2024-04-11T07:54:19Z","challenges":[{"type":"http-01","url":"https://acme.zerossl.com/v2/DV90/chall/WzJgIIUtvAZdmqyEzQWBAQ","status":"pending","token":"C4LNvGmD9oWkGEk3UOkeEBQ2G3w3igiM4x8gOZgVK5M"},{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/c2IhD6rAF1V6VXs31dzhzA","status":"processing","token":"tIpal84aFXOBaZhq_iUohea_oNjmRQBC-Lv3mIglw8g"}],"wildcard":false}#https://acme.zerossl.com/v2/DV90/authz/AOPtyRNBVQ1Z4V467CTJrw'
[Tue Mar 12 08:09:15 UTC 2024] _authz_url='https://acme.zerossl.com/v2/DV90/authz/AOPtyRNBVQ1Z4V467CTJrw'
[Tue Mar 12 08:09:15 UTC 2024] entry='"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/c2IhD6rAF1V6VXs31dzhzA","status":"processing","token":"tIpal84aFXOBaZhq_iUohea_oNjmRQBC-Lv3mIglw8g"'
[Tue Mar 12 08:09:15 UTC 2024] token='tIpal84aFXOBaZhq_iUohea_oNjmRQBC-Lv3mIglw8g'
[Tue Mar 12 08:09:15 UTC 2024] uri='https://acme.zerossl.com/v2/DV90/chall/c2IhD6rAF1V6VXs31dzhzA'
[Tue Mar 12 08:09:15 UTC 2024] keyauthorization='tIpal84aFXOBaZhq_iUohea_oNjmRQBC-Lv3mIglw8g.1mUvSVYb31yYoOoguApCtjWoUMB_sFBA9cyX7EdIjSw'
[Tue Mar 12 08:09:15 UTC 2024] dvlist='<domain>.com#tIpal84aFXOBaZhq_iUohea_oNjmRQBC-Lv3mIglw8g.1mUvSVYb31yYoOoguApCtjWoUMB_sFBA9cyX7EdIjSw#https://acme.zerossl.com/v2/DV90/chall/c2IhD6rAF1V6VXs31dzhzA#dns-01#dns_namecom#https://acme.zerossl.com/v2/DV90/authz/AOPtyRNBVQ1Z4V467CTJrw'
[Tue Mar 12 08:09:15 UTC 2024] d='*.<domain>.com'
[Tue Mar 12 08:09:15 UTC 2024] Getting webroot for domain='*.<domain>.com'
[Tue Mar 12 08:09:15 UTC 2024] _w='dns_namecom'
[Tue Mar 12 08:09:15 UTC 2024] _currentRoot='dns_namecom'
[Tue Mar 12 08:09:15 UTC 2024] _is_idn_d='*.<domain>.com'
[Tue Mar 12 08:09:15 UTC 2024] _idn_temp
[Tue Mar 12 08:09:15 UTC 2024] _candidates='*.<domain>.com,{"identifier":{"type":"dns","value":"<domain>.com"},"status":"pending","expires":"2024-04-11T07:54:19Z","challenges":[{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/rUAvxyTpkry8_IlKhOgGBg","status":"processing","token":"WaHnHvzRL0HU6fP8RB1STYJEQCSngj1qAMlZ3EZjA1U"}],"wildcard":true}#https://acme.zerossl.com/v2/DV90/authz/1nZEs5IlJIGrIl3hUl9hVw'
[Tue Mar 12 08:09:15 UTC 2024] response='{"identifier":{"type":"dns","value":"<domain>.com"},"status":"pending","expires":"2024-04-11T07:54:19Z","challenges":[{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/rUAvxyTpkry8_IlKhOgGBg","status":"processing","token":"WaHnHvzRL0HU6fP8RB1STYJEQCSngj1qAMlZ3EZjA1U"}],"wildcard":true}#https://acme.zerossl.com/v2/DV90/authz/1nZEs5IlJIGrIl3hUl9hVw'
[Tue Mar 12 08:09:15 UTC 2024] _authz_url='https://acme.zerossl.com/v2/DV90/authz/1nZEs5IlJIGrIl3hUl9hVw'
[Tue Mar 12 08:09:15 UTC 2024] entry='"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/rUAvxyTpkry8_IlKhOgGBg","status":"processing","token":"WaHnHvzRL0HU6fP8RB1STYJEQCSngj1qAMlZ3EZjA1U"'
[Tue Mar 12 08:09:15 UTC 2024] token='WaHnHvzRL0HU6fP8RB1STYJEQCSngj1qAMlZ3EZjA1U'
[Tue Mar 12 08:09:15 UTC 2024] uri='https://acme.zerossl.com/v2/DV90/chall/rUAvxyTpkry8_IlKhOgGBg'
[Tue Mar 12 08:09:15 UTC 2024] keyauthorization='WaHnHvzRL0HU6fP8RB1STYJEQCSngj1qAMlZ3EZjA1U.1mUvSVYb31yYoOoguApCtjWoUMB_sFBA9cyX7EdIjSw'
[Tue Mar 12 08:09:15 UTC 2024] dvlist='*.<domain>.com#WaHnHvzRL0HU6fP8RB1STYJEQCSngj1qAMlZ3EZjA1U.1mUvSVYb31yYoOoguApCtjWoUMB_sFBA9cyX7EdIjSw#https://acme.zerossl.com/v2/DV90/chall/rUAvxyTpkry8_IlKhOgGBg#dns-01#dns_namecom#https://acme.zerossl.com/v2/DV90/authz/1nZEs5IlJIGrIl3hUl9hVw'
[Tue Mar 12 08:09:15 UTC 2024] d
[Tue Mar 12 08:09:15 UTC 2024] vlist='<domain>.com#tIpal84aFXOBaZhq_iUohea_oNjmRQBC-Lv3mIglw8g.1mUvSVYb31yYoOoguApCtjWoUMB_sFBA9cyX7EdIjSw#https://acme.zerossl.com/v2/DV90/chall/c2IhD6rAF1V6VXs31dzhzA#dns-01#dns_namecom#https://acme.zerossl.com/v2/DV90/authz/AOPtyRNBVQ1Z4V467CTJrw,*.<domain>.com#WaHnHvzRL0HU6fP8RB1STYJEQCSngj1qAMlZ3EZjA1U.1mUvSVYb31yYoOoguApCtjWoUMB_sFBA9cyX7EdIjSw#https://acme.zerossl.com/v2/DV90/chall/rUAvxyTpkry8_IlKhOgGBg#dns-01#dns_namecom#https://acme.zerossl.com/v2/DV90/authz/1nZEs5IlJIGrIl3hUl9hVw,'
[Tue Mar 12 08:09:15 UTC 2024] d='<domain>.com'
[Tue Mar 12 08:09:15 UTC 2024] _d_alias
[Tue Mar 12 08:09:15 UTC 2024] txtdomain='_acme-challenge.<domain>.com'
[Tue Mar 12 08:09:15 UTC 2024] txt='SklSE1NZ1zE6BHlypXxBnTfLOjjZ_ohOhjzLmCOtc0A'
[Tue Mar 12 08:09:15 UTC 2024] d_api='/root/.acme.sh/dnsapi/dns_namecom.sh'
[Tue Mar 12 08:09:15 UTC 2024] dns_entry='<domain>.com,_acme-challenge.<domain>.com,,dns_namecom,SklSE1NZ1zE6BHlypXxBnTfLOjjZ_ohOhjzLmCOtc0A,/root/.acme.sh/dnsapi/dns_namecom.sh'
[Tue Mar 12 08:09:15 UTC 2024] Found domain api file: /root/.acme.sh/dnsapi/dns_namecom.sh
[Tue Mar 12 08:09:15 UTC 2024] Adding txt value: SklSE1NZ1zE6BHlypXxBnTfLOjjZ_ohOhjzLmCOtc0A for domain:  _acme-challenge.<domain>.com
[Tue Mar 12 08:09:15 UTC 2024] Namecom_Username='<username>'
[Tue Mar 12 08:09:15 UTC 2024] Namecom_Token='[hidden](please add '--output-insecure' to see this value)'
[Tue Mar 12 08:09:15 UTC 2024] GET
[Tue Mar 12 08:09:15 UTC 2024] url='https://api.name.com/v4/hello'
[Tue Mar 12 08:09:15 UTC 2024] timeout=
[Tue Mar 12 08:09:15 UTC 2024] Http already initialized.
[Tue Mar 12 08:09:15 UTC 2024] _CURL='curl --silent --dump-header /root/.acme.sh/http.header  -L  --trace-ascii /tmp/tmp.4u5BXRBihl  -g '
[Tue Mar 12 08:09:16 UTC 2024] ret='0'
[Tue Mar 12 08:09:16 UTC 2024] response='{"serverName":"6f2e","motd":"Welcome to v4 of the Name.com API. Now with REST!","username":"<username>","serverTime":"2024-03-12T08:09:16Z"}'
[Tue Mar 12 08:09:16 UTC 2024] Successfully logged in.
[Tue Mar 12 08:09:16 UTC 2024] GET
[Tue Mar 12 08:09:16 UTC 2024] url='https://api.name.com/v4/domains'
[Tue Mar 12 08:09:16 UTC 2024] timeout=
[Tue Mar 12 08:09:16 UTC 2024] Http already initialized.
[Tue Mar 12 08:09:16 UTC 2024] _CURL='curl --silent --dump-header /root/.acme.sh/http.header  -L  --trace-ascii /tmp/tmp.4u5BXRBihl  -g '
[Tue Mar 12 08:09:17 UTC 2024] ret='0'
[Tue Mar 12 08:09:17 UTC 2024] response='{"domains":__REDACTED__],"nextPage":2,"lastPage":2}'
[Tue Mar 12 08:09:17 UTC 2024] host='<domain>.com'
[Tue Mar 12 08:09:17 UTC 2024] Unable to find domain specified.
[Tue Mar 12 08:09:17 UTC 2024] Error add txt for domain:_acme-challenge.<domain>.com
[Tue Mar 12 08:09:17 UTC 2024] _on_issue_err
[Tue Mar 12 08:09:17 UTC 2024] Please add '--debug' or '--log' to check more details.
[Tue Mar 12 08:09:17 UTC 2024] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
[Tue Mar 12 08:09:17 UTC 2024] _chk_vlist='<domain>.com#tIpal84aFXOBaZhq_iUohea_oNjmRQBC-Lv3mIglw8g.1mUvSVYb31yYoOoguApCtjWoUMB_sFBA9cyX7EdIjSw#https://acme.zerossl.com/v2/DV90/chall/c2IhD6rAF1V6VXs31dzhzA#dns-01#dns_namecom#https://acme.zerossl.com/v2/DV90/authz/AOPtyRNBVQ1Z4V467CTJrw,*.<domain>.com#WaHnHvzRL0HU6fP8RB1STYJEQCSngj1qAMlZ3EZjA1U.1mUvSVYb31yYoOoguApCtjWoUMB_sFBA9cyX7EdIjSw#https://acme.zerossl.com/v2/DV90/chall/rUAvxyTpkry8_IlKhOgGBg#dns-01#dns_namecom#https://acme.zerossl.com/v2/DV90/authz/1nZEs5IlJIGrIl3hUl9hVw,'
[Tue Mar 12 08:09:17 UTC 2024] start to deactivate authz
[Tue Mar 12 08:09:17 UTC 2024] Trigger domain validation.
[Tue Mar 12 08:09:17 UTC 2024] _t_url='https://acme.zerossl.com/v2/DV90/chall/c2IhD6rAF1V6VXs31dzhzA'
[Tue Mar 12 08:09:17 UTC 2024] _t_key_authz='tIpal84aFXOBaZhq_iUohea_oNjmRQBC-Lv3mIglw8g.1mUvSVYb31yYoOoguApCtjWoUMB_sFBA9cyX7EdIjSw'
[Tue Mar 12 08:09:17 UTC 2024] _t_vtype
[Tue Mar 12 08:09:17 UTC 2024] =======Begin Send Signed Request=======
[Tue Mar 12 08:09:17 UTC 2024] url='https://acme.zerossl.com/v2/DV90/chall/c2IhD6rAF1V6VXs31dzhzA'
[Tue Mar 12 08:09:17 UTC 2024] payload='{}'
[Tue Mar 12 08:09:17 UTC 2024] Use cached jwk for file: /root/.acme.sh/ca/acme.zerossl.com/v2/DV90/account.key
[Tue Mar 12 08:09:17 UTC 2024] Use _CACHED_NONCE='IR5oD_s3NQTd2gsn0rdl1-A8whD83Zwgo6kwDhxvtHM'
[Tue Mar 12 08:09:17 UTC 2024] nonce='IR5oD_s3NQTd2gsn0rdl1-A8whD83Zwgo6kwDhxvtHM'
[Tue Mar 12 08:09:17 UTC 2024] POST
[Tue Mar 12 08:09:17 UTC 2024] _post_url='https://acme.zerossl.com/v2/DV90/chall/c2IhD6rAF1V6VXs31dzhzA'
[Tue Mar 12 08:09:17 UTC 2024] body='{"protected": "eyJub25jZSI6ICJJUjVvRF9zM05RVGQyZ3NuMHJkbDEtQTh3aEQ4M1p3Z282a3dEaHh2dEhNIiwgInVybCI6ICJodHRwczovL2FjbWUuemVyb3NzbC5jb20vdjIvRFY5MC9jaGFsbC9jMkloRDZyQUYxVjZWWHMzMWR6aHpBIiwgImFsZyI6ICJFUzI1NiIsICJraWQiOiAiaHR0cHM6Ly9hY21lLnplcm9zc2wuY29tL3YyL0RWOTAvYWNjb3VudC9wRndQaFJKUXZCV0pWRUxOVGV6TUtBIn0", "payload": "e30", "signature": "r_n-0joXzviO8hHxHYJjmDSLUN_EV-eirq4bPU8W1Xk4pqxFt82omW5QtybnxMxQXCUSq75GBC-f6RcsEkunmw"}'
[Tue Mar 12 08:09:17 UTC 2024] _postContentType='application/jose+json'
[Tue Mar 12 08:09:17 UTC 2024] Http already initialized.
[Tue Mar 12 08:09:17 UTC 2024] _CURL='curl --silent --dump-header /root/.acme.sh/http.header  -L  --trace-ascii /tmp/tmp.4u5BXRBihl  -g '
[Tue Mar 12 08:09:18 UTC 2024] _ret='0'
[Tue Mar 12 08:09:18 UTC 2024] responseHeaders='HTTP/2 200 
server: nginx
date: Tue, 12 Mar 2024 08:09:18 GMT
content-type: application/json
content-length: 163
replay-nonce: vXlOkfEWXeK428cZEuIxRMwWlqB-UazVV-TNedCbAQw
cache-control: max-age=0, no-cache, no-store
access-control-allow-origin: *
link: <https://acme.zerossl.com/v2/DV90/authz/AOPtyRNBVQ1Z4V467CTJrw>;rel="up"
retry-after: 60
strict-transport-security: max-age=15724800; includeSubDomains
'
[Tue Mar 12 08:09:18 UTC 2024] code='200'
[Tue Mar 12 08:09:18 UTC 2024] original='{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/c2IhD6rAF1V6VXs31dzhzA","status":"processing","token":"tIpal84aFXOBaZhq_iUohea_oNjmRQBC-Lv3mIglw8g"}'
[Tue Mar 12 08:09:18 UTC 2024] response='{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/c2IhD6rAF1V6VXs31dzhzA","status":"processing","token":"tIpal84aFXOBaZhq_iUohea_oNjmRQBC-Lv3mIglw8g"}'
[Tue Mar 12 08:09:18 UTC 2024] Trigger domain validation.
[Tue Mar 12 08:09:18 UTC 2024] _t_url='https://acme.zerossl.com/v2/DV90/chall/rUAvxyTpkry8_IlKhOgGBg'
[Tue Mar 12 08:09:18 UTC 2024] _t_key_authz='WaHnHvzRL0HU6fP8RB1STYJEQCSngj1qAMlZ3EZjA1U.1mUvSVYb31yYoOoguApCtjWoUMB_sFBA9cyX7EdIjSw'
[Tue Mar 12 08:09:18 UTC 2024] _t_vtype
[Tue Mar 12 08:09:18 UTC 2024] =======Begin Send Signed Request=======
[Tue Mar 12 08:09:18 UTC 2024] url='https://acme.zerossl.com/v2/DV90/chall/rUAvxyTpkry8_IlKhOgGBg'
[Tue Mar 12 08:09:18 UTC 2024] payload='{}'
[Tue Mar 12 08:09:18 UTC 2024] Use cached jwk for file: /root/.acme.sh/ca/acme.zerossl.com/v2/DV90/account.key
[Tue Mar 12 08:09:18 UTC 2024] Use _CACHED_NONCE='vXlOkfEWXeK428cZEuIxRMwWlqB-UazVV-TNedCbAQw'
[Tue Mar 12 08:09:18 UTC 2024] nonce='vXlOkfEWXeK428cZEuIxRMwWlqB-UazVV-TNedCbAQw'
[Tue Mar 12 08:09:18 UTC 2024] POST
[Tue Mar 12 08:09:18 UTC 2024] _post_url='https://acme.zerossl.com/v2/DV90/chall/rUAvxyTpkry8_IlKhOgGBg'
[Tue Mar 12 08:09:18 UTC 2024] body='{"protected": "eyJub25jZSI6ICJ2WGxPa2ZFV1hlSzQyOGNaRXVJeFJNd1dscUItVWF6VlYtVE5lZENiQVF3IiwgInVybCI6ICJodHRwczovL2FjbWUuemVyb3NzbC5jb20vdjIvRFY5MC9jaGFsbC9yVUF2eHlUcGtyeThfSWxLaE9nR0JnIiwgImFsZyI6ICJFUzI1NiIsICJraWQiOiAiaHR0cHM6Ly9hY21lLnplcm9zc2wuY29tL3YyL0RWOTAvYWNjb3VudC9wRndQaFJKUXZCV0pWRUxOVGV6TUtBIn0", "payload": "e30", "signature": "IJknNlw_GsHSuyCkxZoawoTOYZxPiIDC4GyMCfYv5K6ky1WClvlXN7n1nzLF8CgjrMu-fhQyesL8s80TG11dAg"}'
[Tue Mar 12 08:09:18 UTC 2024] _postContentType='application/jose+json'
[Tue Mar 12 08:09:18 UTC 2024] Http already initialized.
[Tue Mar 12 08:09:18 UTC 2024] _CURL='curl --silent --dump-header /root/.acme.sh/http.header  -L  --trace-ascii /tmp/tmp.4u5BXRBihl  -g '
[Tue Mar 12 08:09:19 UTC 2024] _ret='0'
[Tue Mar 12 08:09:19 UTC 2024] responseHeaders='HTTP/2 200 
server: nginx
date: Tue, 12 Mar 2024 08:09:19 GMT
content-type: application/json
content-length: 163
replay-nonce: MYXMGHi_sq3JvoP5AolvUN2oVLVNdh5syzbDsUFTH-c
cache-control: max-age=0, no-cache, no-store
access-control-allow-origin: *
link: <https://acme.zerossl.com/v2/DV90/authz/1nZEs5IlJIGrIl3hUl9hVw>;rel="up"
retry-after: 60
strict-transport-security: max-age=15724800; includeSubDomains
'
[Tue Mar 12 08:09:19 UTC 2024] code='200'
[Tue Mar 12 08:09:19 UTC 2024] original='{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/rUAvxyTpkry8_IlKhOgGBg","status":"processing","token":"WaHnHvzRL0HU6fP8RB1STYJEQCSngj1qAMlZ3EZjA1U"}'
[Tue Mar 12 08:09:19 UTC 2024] response='{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/rUAvxyTpkry8_IlKhOgGBg","status":"processing","token":"WaHnHvzRL0HU6fP8RB1STYJEQCSngj1qAMlZ3EZjA1U"}'
[Tue Mar 12 08:09:19 UTC 2024] Diagnosis versions: 
openssl:openssl
OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)
apache:
apache doesn't exist.
nginx:
nginx doesn't exist.
socat:
socat by Gerhard Rieger and contributors - see www.dest-unreach.org
socat version 1.7.4.1 on Mar 25 2022 09:51:32
   running on Linux version #85-Ubuntu SMP Fri Jul 7 15:25:09 UTC 2023, release 5.15.0-78-generic, machine x86_64
features:
  #define WITH_STDIO 1
  #define WITH_FDNUM 1
  #define WITH_FILE 1
  #define WITH_CREAT 1
  #define WITH_GOPEN 1
  #define WITH_TERMIOS 1
  #define WITH_PIPE 1
  #define WITH_UNIX 1
  #define WITH_ABSTRACT_UNIXSOCKET 1
  #define WITH_IP4 1
  #define WITH_IP6 1
  #define WITH_RAWIP 1
  #define WITH_GENERICSOCKET 1
  #define WITH_INTERFACE 1
  #define WITH_TCP 1
  #define WITH_UDP 1
  #define WITH_SCTP 1
  #define WITH_LISTEN 1
  #define WITH_SOCKS4 1
  #define WITH_SOCKS4A 1
  #define WITH_VSOCK 1
  #define WITH_PROXY 1
  #define WITH_SYSTEM 1
  #define WITH_EXEC 1
  #undef WITH_READLINE
  #define WITH_TUN 1
  #define WITH_PTY 1
  #define WITH_OPENSSL 1
  #undef WITH_FIPS
  #define WITH_LIBWRAP 1
  #define WITH_SYCLS 1
  #define WITH_FILAN 1
  #define WITH_RETRY 1
  #define WITH_MSGLEVEL 0 /*debug*/
[Tue Mar 12 08:09:19 UTC 2024] pid
[Tue Mar 12 08:09:19 UTC 2024] No need to restore nginx, skip.
[Tue Mar 12 08:09:19 UTC 2024] _clearupdns
[Tue Mar 12 08:09:19 UTC 2024] dns_entries
[Tue Mar 12 08:09:19 UTC 2024] skip dns.
github-actions[bot] commented 8 months 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.

mattgroves commented 8 months ago

I believe this can be resolved simply by changing dns_namecom.sh and adding the perPage parameter as per https://www.name.com/api-docs/domains#ListDomains to line 151 - however, this is not currently working and has been reported to name.com.

Example:

_namecom_get_root() {
  domain=$1
  i=2
  p=1

  if ! _namecom_rest GET 'domains?perPage=2000'; then
    return 1
  fi

  # Need to exclude the last field (tld)
  numfields=$(echo "$domain" | _egrep_o "\." | wc -l)
  while [ $i -le "$numfields" ]; do
    host=$(printf "%s" "$domain" | cut -d . -f $i-100)
    _debug host "$host"
    if [ -z "$host" ]; then
      return 1
    fi

    if _contains "$response" "$host"; then
      _sub_domain=$(printf "%s" "$domain" | cut -d . -f 1-$p)
      _domain="$host"
      return 0
    fi
    p=$i
    i=$(_math "$i" + 1)
  done
  return 1
}