acme.sh
                                
                                 acme.sh copied to clipboard
                                
                                    acme.sh copied to clipboard
                            
                            
                            
                        Can't issue certs for domains in Azure DNS (dns_azure)
Acme.sh doesn't issue certs for domains in Azure DNS (dns_azure). I'm getting an error: Can not find dns api hook for: dns_azure
I've checked the existing issues and the wiki.
Steps to reproduce
${HOME}/.acme.sh/acme.sh --issue --dns dns_azure -d api.mgmt.mydomain.com -d *.apps.mgmt.mydomain.com or ${HOME}/.acme.sh/acme.sh --issue --dns dns_azure -d apitest.mgmt.mydomain.com
In both cases the outcome is the same. I'm using the latest version of acme.sh (v3.0.5) and az-cli (2.41.0)
Debug log
pk@mypc:~/mydir/Downloads$ ${HOME}/.acme.sh/acme.sh --issue --dns dns_azure -d api.mgmt.mydomain.com -d *.apps.mgmt.mydomain.com --log --debug 2
[Thu Oct 27 00:11:23 CEST 2022] Lets find script dir.
[Thu Oct 27 00:11:23 CEST 2022] _SCRIPT_='/home/pk/.acme.sh/acme.sh'
[Thu Oct 27 00:11:23 CEST 2022] _script='/home/pk/.acme.sh/acme.sh'
[Thu Oct 27 00:11:23 CEST 2022] _script_home='/home/pk/.acme.sh'
[Thu Oct 27 00:11:23 CEST 2022] Using config home:/home/pk/.acme.sh
[Thu Oct 27 00:11:24 CEST 2022] LE_WORKING_DIR='/home/pk/.acme.sh'
https://github.com/acmesh-official/acme.sh
v3.0.5
[Thu Oct 27 00:11:24 CEST 2022] Running cmd: issue
[Thu Oct 27 00:11:24 CEST 2022] _main_domain='api.mgmt.mydomain.com'
[Thu Oct 27 00:11:24 CEST 2022] _alt_domains='*.apps.mgmt.mydomain.com'
[Thu Oct 27 00:11:24 CEST 2022] Using config home:/home/pk/.acme.sh
[Thu Oct 27 00:11:24 CEST 2022] default_acme_server
[Thu Oct 27 00:11:24 CEST 2022] ACME_DIRECTORY='https://acme.zerossl.com/v2/DV90'
[Thu Oct 27 00:11:24 CEST 2022] _ACME_SERVER_HOST='acme.zerossl.com'
[Thu Oct 27 00:11:24 CEST 2022] _ACME_SERVER_PATH='v2/DV90'
[Thu Oct 27 00:11:24 CEST 2022] DOMAIN_PATH='/home/pk/.acme.sh/api.mgmt.mydomain.com'
[Thu Oct 27 00:11:24 CEST 2022] 'dns_azure' does not contain 'dns'
[Thu Oct 27 00:11:24 CEST 2022] Le_NextRenewTime
[Thu Oct 27 00:11:24 CEST 2022] Using ACME_DIRECTORY: https://acme.zerossl.com/v2/DV90
[Thu Oct 27 00:11:24 CEST 2022] _init api for server: https://acme.zerossl.com/v2/DV90
[Thu Oct 27 00:11:24 CEST 2022] GET
[Thu Oct 27 00:11:24 CEST 2022] url='https://acme.zerossl.com/v2/DV90'
[Thu Oct 27 00:11:24 CEST 2022] timeout=
[Thu Oct 27 00:11:24 CEST 2022] _CURL='curl --silent --dump-header /home/pk/.acme.sh/http.header  -L  --trace-ascii /tmp/tmp.x9eU16NnUg  -g '
[Thu Oct 27 00:11:25 CEST 2022] ret='0'
[Thu Oct 27 00:11:25 CEST 2022] 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/20221001_Certificate_Subscriber_Agreement_v_2_5_click.pdf",
    "website": "https://zerossl.com",
    "caaIdentities": ["sectigo.com", "trust-provider.com", "usertrust.com", "comodoca.com", "comodo.com"],
    "externalAccountRequired": true
  }
}'
[Thu Oct 27 00:11:25 CEST 2022] ACME_KEY_CHANGE='https://acme.zerossl.com/v2/DV90/keyChange'
[Thu Oct 27 00:11:25 CEST 2022] ACME_NEW_AUTHZ
[Thu Oct 27 00:11:25 CEST 2022] ACME_NEW_ORDER='https://acme.zerossl.com/v2/DV90/newOrder'
[Thu Oct 27 00:11:25 CEST 2022] ACME_NEW_ACCOUNT='https://acme.zerossl.com/v2/DV90/newAccount'
[Thu Oct 27 00:11:25 CEST 2022] ACME_REVOKE_CERT='https://acme.zerossl.com/v2/DV90/revokeCert'
[Thu Oct 27 00:11:25 CEST 2022] ACME_AGREEMENT='https://secure.trust-provider.com/repository/docs/Legacy/20221001_Certificate_Subscriber_Agreement_v_2_5_click.pdf'
[Thu Oct 27 00:11:25 CEST 2022] ACME_NEW_NONCE='https://acme.zerossl.com/v2/DV90/newNonce'
[Thu Oct 27 00:11:26 CEST 2022] Using CA: https://acme.zerossl.com/v2/DV90
[Thu Oct 27 00:11:26 CEST 2022] _on_before_issue
[Thu Oct 27 00:11:26 CEST 2022] _chk_main_domain='api.mgmt.mydomain.com'
[Thu Oct 27 00:11:26 CEST 2022] _chk_alt_domains='*.apps.mgmt.mydomain.com'
[Thu Oct 27 00:11:26 CEST 2022] 'dns_azure' does not contain 'no'
[Thu Oct 27 00:11:26 CEST 2022] Le_LocalAddress
[Thu Oct 27 00:11:26 CEST 2022] d='api.mgmt.mydomain.com'
[Thu Oct 27 00:11:26 CEST 2022] Check for domain='api.mgmt.mydomain.com'
[Thu Oct 27 00:11:26 CEST 2022] _currentRoot='dns_azure'
[Thu Oct 27 00:11:26 CEST 2022] d='*.apps.mgmt.mydomain.com'
[Thu Oct 27 00:11:26 CEST 2022] Check for domain='*.apps.mgmt.mydomain.com'
[Thu Oct 27 00:11:26 CEST 2022] _currentRoot='dns_azure'
[Thu Oct 27 00:11:27 CEST 2022] d
[Thu Oct 27 00:11:27 CEST 2022] 'dns_azure' does not contain 'apache'
[Thu Oct 27 00:11:27 CEST 2022] _saved_account_key_hash='KrLlP5ZgREhiKFuWm7EbjemLl/96HIphGATFfUAjC0o='
[Thu Oct 27 00:11:27 CEST 2022] _saved_account_key_hash is not changed, skip register account.
[Thu Oct 27 00:11:27 CEST 2022] Read key length:2048
[Thu Oct 27 00:11:27 CEST 2022] _createcsr
[Thu Oct 27 00:11:27 CEST 2022] domain='api.mgmt.mydomain.com'
[Thu Oct 27 00:11:27 CEST 2022] domainlist='*.apps.mgmt.mydomain.com'
[Thu Oct 27 00:11:27 CEST 2022] csrkey='/home/pk/.acme.sh/api.mgmt.mydomain.com/api.mgmt.mydomain.com.key'
[Thu Oct 27 00:11:27 CEST 2022] csr='/home/pk/.acme.sh/api.mgmt.mydomain.com/api.mgmt.mydomain.com.csr'
[Thu Oct 27 00:11:27 CEST 2022] csrconf='/home/pk/.acme.sh/api.mgmt.mydomain.com/api.mgmt.mydomain.com.csr.conf'
[Thu Oct 27 00:11:27 CEST 2022] _is_idn_d='*.apps.mgmt.mydomain.com'
[Thu Oct 27 00:11:27 CEST 2022] _idn_temp
[Thu Oct 27 00:11:27 CEST 2022] domainlist='*.apps.mgmt.mydomain.com'
[Thu Oct 27 00:11:27 CEST 2022] seg='api'
[Thu Oct 27 00:11:27 CEST 2022] _is_idn_d='api.mgmt.mydomain.com'
[Thu Oct 27 00:11:27 CEST 2022] _idn_temp
[Thu Oct 27 00:11:27 CEST 2022] seg='- (1).txt'
[Thu Oct 27 00:11:27 CEST 2022] Multi domain='DNS:api.mgmt.mydomain.com,DNS:*.apps.mgmt.mydomain.com'
[Thu Oct 27 00:11:27 CEST 2022] _is_idn_d='api.mgmt.mydomain.com'
[Thu Oct 27 00:11:27 CEST 2022] _idn_temp
[Thu Oct 27 00:11:27 CEST 2022] _csr_cn='api.mgmt.mydomain.com'
[Thu Oct 27 00:11:27 CEST 2022] seg='api'
[Thu Oct 27 00:11:28 CEST 2022] Getting domain auth token for each domain
[Thu Oct 27 00:11:28 CEST 2022] seg='api'
[Thu Oct 27 00:11:28 CEST 2022] _is_idn_d='api.mgmt.mydomain.com'
[Thu Oct 27 00:11:28 CEST 2022] _idn_temp
[Thu Oct 27 00:11:28 CEST 2022] d='*.apps.mgmt.mydomain.com'
[Thu Oct 27 00:11:28 CEST 2022] seg='- (1).txt'
[Thu Oct 27 00:11:28 CEST 2022] _is_idn_d='*.apps.mgmt.mydomain.com'
[Thu Oct 27 00:11:28 CEST 2022] _idn_temp
[Thu Oct 27 00:11:28 CEST 2022] d
[Thu Oct 27 00:11:28 CEST 2022] _identifiers='{"type":"dns","value":"api.mgmt.mydomain.com"},{"type":"dns","value":"*.apps.mgmt.mydomain.com"}'
[Thu Oct 27 00:11:28 CEST 2022] _notBefore
[Thu Oct 27 00:11:28 CEST 2022] _notAfter
[Thu Oct 27 00:11:28 CEST 2022] url='https://acme.zerossl.com/v2/DV90/newOrder'
[Thu Oct 27 00:11:28 CEST 2022] payload='{"identifiers": [{"type":"dns","value":"api.mgmt.mydomain.com"},{"type":"dns","value":"*.apps.mgmt.mydomain.com"}]}'
[Thu Oct 27 00:11:28 CEST 2022] RSA key
[Thu Oct 27 00:11:28 CEST 2022] Get nonce with HEAD. ACME_NEW_NONCE='https://acme.zerossl.com/v2/DV90/newNonce'
[Thu Oct 27 00:11:28 CEST 2022] HEAD
[Thu Oct 27 00:11:28 CEST 2022] _post_url='https://acme.zerossl.com/v2/DV90/newNonce'
[Thu Oct 27 00:11:28 CEST 2022] body
[Thu Oct 27 00:11:28 CEST 2022] _postContentType='application/jose+json'
[Thu Oct 27 00:11:29 CEST 2022] _CURL='curl --silent --dump-header /home/pk/.acme.sh/http.header  -L  --trace-ascii /tmp/tmp.WeNsOZUQZo  -g  -I  '
[Thu Oct 27 00:11:33 CEST 2022] _ret='0'
[Thu Oct 27 00:11:33 CEST 2022] _headers='HTTP/2 200
server: nginx
date: Wed, 26 Oct 2022 22:11:33 GMT
content-type: application/octet-stream
replay-nonce: ouTzeycITi9m-HSCBm0CAVG9cHKDm94EBPj9gq2NoXQ
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
'
[Thu Oct 27 00:11:33 CEST 2022] _CACHED_NONCE='ouTzeycITi9m-HSCBm0CAVG9cHKDm94EBPj9gq2NoXQ'
[Thu Oct 27 00:11:33 CEST 2022] nonce='ouTzeycITi9m-HSCBm0CAVG9cHKDm94EBPj9gq2NoXQ'
[Thu Oct 27 00:11:33 CEST 2022] POST
[Thu Oct 27 00:11:33 CEST 2022] _post_url='https://acme.zerossl.com/v2/DV90/newOrder'
[Thu Oct 27 00:11:33 CEST 2022] body='{"protected": "eyJub25jZSI6ICJvdVR6ZXljSVRpOW0tSFNDQm0wQ0FWRzljSEtEbTk0RUJQajlncTJOb1hRIiwgInVybCI6ICJodHRwczovL2FjbWUuemVyb3NzbC5jb20vdjIvRFY5MC9uZXdPcmRlciIsICJhbGciOiAiUlMyNTYiLCAia2lkIjogImh0dHBzOi8vYWNtZS56ZXJvc3NsLmNvbS92Mi9EVjkwL2FjY291bnQvYkdnMks0Y3NqOGJCS3htVjIybldUZyJ9", "payload": "eyJpZGVudGlmaWVycyI6IFt7InR5cGUiOiJkbnMiLCJ2YWx1ZSI6ImFwaS5tZ210LmttZHN0cmF0dXMuY29tIn0seyJ0eXBlIjoiZG5zIiwidmFsdWUiOiIqLmFwcHMubWdtdC5rbWRzdHJhdHVzLmNvbSJ9XX0", "signature": "DlcUpcURWNS4YAfS2UVvGvopDm6ru-EayK5uxuo3QMjOHMPzhPF7PbMjDUJR4JNjpzPKTAn5-LU6XqNyqvjEFAIhm2vmY5tHhLZ29gL_S1pZha4dQ0guqolnASk3rlYHEHc7JPcGROwAHhxgO1V3YFqfx0ocZLv5zf0Su2CZBqB_NnUuf5rGSarr0orC03dt3O9TuLVNqPJ5mzc5uKK9MPdi88Nl064GkrS2t8X-fFKhJDphQ-THoqh4uAR6epYERzIa9SfdjVfkbwX3QnDcw1EsPI7tm42-qfoqsNfvqXkMcEb1Ke4Z7QQabOTRxnbImjqlSbG4kYw9Gg081IgW6Q"}'
[Thu Oct 27 00:11:33 CEST 2022] _postContentType='application/jose+json'
[Thu Oct 27 00:11:33 CEST 2022] Http already initialized.
[Thu Oct 27 00:11:33 CEST 2022] _CURL='curl --silent --dump-header /home/pk/.acme.sh/http.header  -L  --trace-ascii /tmp/tmp.WeNsOZUQZo  -g '
[Thu Oct 27 00:11:40 CEST 2022] _ret='0'
[Thu Oct 27 00:11:40 CEST 2022] responseHeaders='HTTP/2 201
server: nginx
date: Wed, 26 Oct 2022 22:11:39 GMT
content-type: application/json
content-length: 401
replay-nonce: ZrAupS85FCZ_-15jGO22vI7q7KP_Qca7EhM8u6uGudg
cache-control: max-age=0, no-cache, no-store
access-control-allow-origin: *
location: https://acme.zerossl.com/v2/DV90/order/oxw-i-HQpYIvt89ryDkcYA
strict-transport-security: max-age=15724800; includeSubDomains
'
[Thu Oct 27 00:11:40 CEST 2022] code='201'
[Thu Oct 27 00:11:40 CEST 2022] original='{"status":"pending","expires":"2023-01-24T22:11:39Z","identifiers":[{"type":"dns","value":"api.mgmt.mydomain.com"},{"type":"dns","value":"*.apps.mgmt.mydomain.com"}],"authorizations":["https://acme.zerossl.com/v2/DV90/authz/rLZnj8AXbejpDAX9fmAvvw","https://acme.zerossl.com/v2/DV90/authz/zXkyLJ83JdG4r2nlPW8BYQ"],"finalize":"https://acme.zerossl.com/v2/DV90/order/oxw-i-HQpYIvt89ryDkcYA/finalize"}'
[Thu Oct 27 00:11:40 CEST 2022] response='{"status":"pending","expires":"2023-01-24T22:11:39Z","identifiers":[{"type":"dns","value":"api.mgmt.mydomain.com"},{"type":"dns","value":"*.apps.mgmt.mydomain.com"}],"authorizations":["https://acme.zerossl.com/v2/DV90/authz/rLZnj8AXbejpDAX9fmAvvw","https://acme.zerossl.com/v2/DV90/authz/zXkyLJ83JdG4r2nlPW8BYQ"],"finalize":"https://acme.zerossl.com/v2/DV90/order/oxw-i-HQpYIvt89ryDkcYA/finalize"}'
[Thu Oct 27 00:11:40 CEST 2022] Le_LinkOrder='https://acme.zerossl.com/v2/DV90/order/oxw-i-HQpYIvt89ryDkcYA'
[Thu Oct 27 00:11:40 CEST 2022] Le_OrderFinalize='https://acme.zerossl.com/v2/DV90/order/oxw-i-HQpYIvt89ryDkcYA/finalize'
[Thu Oct 27 00:11:40 CEST 2022] _authorizations_seg='https://acme.zerossl.com/v2/DV90/authz/rLZnj8AXbejpDAX9fmAvvw,https://acme.zerossl.com/v2/DV90/authz/zXkyLJ83JdG4r2nlPW8BYQ'
[Thu Oct 27 00:11:40 CEST 2022] _authz_url='https://acme.zerossl.com/v2/DV90/authz/rLZnj8AXbejpDAX9fmAvvw'
[Thu Oct 27 00:11:40 CEST 2022] url='https://acme.zerossl.com/v2/DV90/authz/rLZnj8AXbejpDAX9fmAvvw'
[Thu Oct 27 00:11:40 CEST 2022] payload
[Thu Oct 27 00:11:40 CEST 2022] Use cached jwk for file: /home/pk/.acme.sh/ca/acme.zerossl.com/v2/DV90/account.key
[Thu Oct 27 00:11:40 CEST 2022] Use _CACHED_NONCE='ZrAupS85FCZ_-15jGO22vI7q7KP_Qca7EhM8u6uGudg'
[Thu Oct 27 00:11:40 CEST 2022] nonce='ZrAupS85FCZ_-15jGO22vI7q7KP_Qca7EhM8u6uGudg'
[Thu Oct 27 00:11:40 CEST 2022] POST
[Thu Oct 27 00:11:40 CEST 2022] _post_url='https://acme.zerossl.com/v2/DV90/authz/rLZnj8AXbejpDAX9fmAvvw'
[Thu Oct 27 00:11:40 CEST 2022] body='{"protected": "eyJub25jZSI6ICJackF1cFM4NUZDWl8tMTVqR08yMnZJN3E3S1BfUWNhN0VoTTh1NnVHdWRnIiwgInVybCI6ICJodHRwczovL2FjbWUuemVyb3NzbC5jb20vdjIvRFY5MC9hdXRoei9yTFpuajhBWGJlanBEQVg5Zm1BdnZ3IiwgImFsZyI6ICJSUzI1NiIsICJraWQiOiAiaHR0cHM6Ly9hY21lLnplcm9zc2wuY29tL3YyL0RWOTAvYWNjb3VudC9iR2cySzRjc2o4YkJLeG1WMjJuV1RnIn0", "payload": "", "signature": "sWDTEbDhn75ShYxewY_zthzNMr-nsAEZ0r2LdNbIUmyqKBoQD_GWV07EFmITAUpm4GqqfAJuOzgUMEPz8hE7nH0l5rbH_jDNAeOjeqUv2WEwc9fT4pTiEL87ERZ3w73kj_fwMhhmRggwc0-hQKDLdSRMsGL8MXn9P7ZoCOVEadOI4Fs9VQqquLMKY4lN-ExVzqXgDQwRJalZvKyDSy3TVY1e8wv-LhXC7uA48RveIdl81L7zbxaN_pFEVFDDOlmtwN4DbHSV25P1q4XFD_VEMtG9gGAvtrBK7jitC8TIeyXQdn1vYAoUcwwzZvq7eKNUJsUtgTUdgiCJlaOdIMvr7A"}'
[Thu Oct 27 00:11:40 CEST 2022] _postContentType='application/jose+json'
[Thu Oct 27 00:11:41 CEST 2022] Http already initialized.
[Thu Oct 27 00:11:41 CEST 2022] _CURL='curl --silent --dump-header /home/pk/.acme.sh/http.header  -L  --trace-ascii /tmp/tmp.WeNsOZUQZo  -g '
[Thu Oct 27 00:11:43 CEST 2022] _ret='0'
[Thu Oct 27 00:11:43 CEST 2022] responseHeaders='HTTP/2 200
server: nginx
date: Wed, 26 Oct 2022 22:11:43 GMT
content-type: application/json
content-length: 453
replay-nonce: xSEEAAWhdw3oXLikoLVk2msILsM3GwDV2OMxW9EXtik
cache-control: max-age=0, no-cache, no-store
access-control-allow-origin: *
link: <https://acme.zerossl.com/v2/DV90>;rel="index"
retry-after: 5
strict-transport-security: max-age=15724800; includeSubDomains
'
[Thu Oct 27 00:11:43 CEST 2022] code='200'
[Thu Oct 27 00:11:43 CEST 2022] original='{"identifier":{"type":"dns","value":"api.mgmt.mydomain.com"},"status":"pending","expires":"2022-11-25T22:11:39Z","challenges":[{"type":"http-01","url":"https://acme.zerossl.com/v2/DV90/chall/AiGLI3RP8FT6MGQ5q8nSag","status":"pending","token":"K8VFluIk7fj0t05lrAqKlRQIeeH4dx2MJJME_4ReQbQ"},{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/GyU7148--KYuoh7m3ObJIg","status":"pending","token":"-OGB-1Lj3I8WNxBfbF95nX_qHl7vS5zkQsfMA610VlA"}]}'
[Thu Oct 27 00:11:43 CEST 2022] response='{"identifier":{"type":"dns","value":"api.mgmt.mydomain.com"},"status":"pending","expires":"2022-11-25T22:11:39Z","challenges":[{"type":"http-01","url":"https://acme.zerossl.com/v2/DV90/chall/AiGLI3RP8FT6MGQ5q8nSag","status":"pending","token":"K8VFluIk7fj0t05lrAqKlRQIeeH4dx2MJJME_4ReQbQ"},{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/GyU7148--KYuoh7m3ObJIg","status":"pending","token":"-OGB-1Lj3I8WNxBfbF95nX_qHl7vS5zkQsfMA610VlA"}]}'
[Thu Oct 27 00:11:43 CEST 2022] response='{"identifier":{"type":"dns","value":"api.mgmt.mydomain.com"},"status":"pending","expires":"2022-11-25T22:11:39Z","challenges":[{"type":"http-01","url":"https://acme.zerossl.com/v2/DV90/chall/AiGLI3RP8FT6MGQ5q8nSag","status":"pending","token":"K8VFluIk7fj0t05lrAqKlRQIeeH4dx2MJJME_4ReQbQ"},{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/GyU7148--KYuoh7m3ObJIg","status":"pending","token":"-OGB-1Lj3I8WNxBfbF95nX_qHl7vS5zkQsfMA610VlA"}]}'
[Thu Oct 27 00:11:44 CEST 2022] _d='api.mgmt.mydomain.com'
[Thu Oct 27 00:11:44 CEST 2022] _authz_url='https://acme.zerossl.com/v2/DV90/authz/zXkyLJ83JdG4r2nlPW8BYQ'
[Thu Oct 27 00:11:44 CEST 2022] url='https://acme.zerossl.com/v2/DV90/authz/zXkyLJ83JdG4r2nlPW8BYQ'
[Thu Oct 27 00:11:44 CEST 2022] payload
[Thu Oct 27 00:11:44 CEST 2022] Use cached jwk for file: /home/pk/.acme.sh/ca/acme.zerossl.com/v2/DV90/account.key
[Thu Oct 27 00:11:44 CEST 2022] Use _CACHED_NONCE='xSEEAAWhdw3oXLikoLVk2msILsM3GwDV2OMxW9EXtik'
[Thu Oct 27 00:11:44 CEST 2022] nonce='xSEEAAWhdw3oXLikoLVk2msILsM3GwDV2OMxW9EXtik'
[Thu Oct 27 00:11:44 CEST 2022] POST
[Thu Oct 27 00:11:44 CEST 2022] _post_url='https://acme.zerossl.com/v2/DV90/authz/zXkyLJ83JdG4r2nlPW8BYQ'
[Thu Oct 27 00:11:44 CEST 2022] body='{"protected": "eyJub25jZSI6ICJ4U0VFQUFXaGR3M29YTGlrb0xWazJtc0lMc00zR3dEVjJPTXhXOUVYdGlrIiwgInVybCI6ICJodHRwczovL2FjbWUuemVyb3NzbC5jb20vdjIvRFY5MC9hdXRoei96WGt5TEo4M0pkRzRyMm5sUFc4QllRIiwgImFsZyI6ICJSUzI1NiIsICJraWQiOiAiaHR0cHM6Ly9hY21lLnplcm9zc2wuY29tL3YyL0RWOTAvYWNjb3VudC9iR2cySzRjc2o4YkJLeG1WMjJuV1RnIn0", "payload": "", "signature": "P3JHfJChgXZ-NZ_INlBK81gvMtiw-vikwWeGCeBMu1Qbw1sRIGMycMReT4n_ZpSXNEovLKbeQ11GQP8bsLBE3yrRO4uSPA28gwALIVg5FylkRlOkfSa4qu2epgVWRgXWrwfYK82Uk-2TrDB1RjHxjTaj-eOg0EKWmP2Sm-UQ7P1_YvI3Q8pyyFvNjrHcQysAZhwWykjlTtwL3cyqbykFicoYX_X47zgiNXfed5-lUapHmmuU2DJUxPfeo3TUWzU59Yv9Imb9t2FOGf7y1QKGYtLix6VO_iVwqqj8BuLiSs7Y-M4Udvzgbd7vYqyifsWsC5FJHiN8dqdBF-fKIwlVag"}'
[Thu Oct 27 00:11:44 CEST 2022] _postContentType='application/jose+json'
[Thu Oct 27 00:11:44 CEST 2022] Http already initialized.
[Thu Oct 27 00:11:44 CEST 2022] _CURL='curl --silent --dump-header /home/pk/.acme.sh/http.header  -L  --trace-ascii /tmp/tmp.WeNsOZUQZo  -g '
[Thu Oct 27 00:11:50 CEST 2022] _ret='0'
[Thu Oct 27 00:11:50 CEST 2022] responseHeaders='HTTP/2 200
server: nginx
date: Wed, 26 Oct 2022 22:11:50 GMT
content-type: application/json
content-length: 308
replay-nonce: DpTr6Dkl0wBqIQdThvgMPj5h0J5dVYSaHi4RW5ZEGx4
cache-control: max-age=0, no-cache, no-store
access-control-allow-origin: *
link: <https://acme.zerossl.com/v2/DV90>;rel="index"
retry-after: 5
strict-transport-security: max-age=15724800; includeSubDomains
'
[Thu Oct 27 00:11:51 CEST 2022] code='200'
[Thu Oct 27 00:11:51 CEST 2022] original='{"identifier":{"type":"dns","value":"apps.mgmt.mydomain.com"},"status":"pending","expires":"2022-11-25T22:11:39Z","challenges":[{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/41Ib4o1C2qxoXZMMAfIswQ","status":"pending","token":"qFEtcXRkiJoGyFQTZbE4FY8W0nyoI-aN3jCuty0u-M4"}],"wildcard":true}'
[Thu Oct 27 00:11:51 CEST 2022] response='{"identifier":{"type":"dns","value":"apps.mgmt.mydomain.com"},"status":"pending","expires":"2022-11-25T22:11:39Z","challenges":[{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/41Ib4o1C2qxoXZMMAfIswQ","status":"pending","token":"qFEtcXRkiJoGyFQTZbE4FY8W0nyoI-aN3jCuty0u-M4"}],"wildcard":true}'
[Thu Oct 27 00:11:51 CEST 2022] response='{"identifier":{"type":"dns","value":"apps.mgmt.mydomain.com"},"status":"pending","expires":"2022-11-25T22:11:39Z","challenges":[{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/41Ib4o1C2qxoXZMMAfIswQ","status":"pending","token":"qFEtcXRkiJoGyFQTZbE4FY8W0nyoI-aN3jCuty0u-M4"}],"wildcard":true}'
[Thu Oct 27 00:11:51 CEST 2022] _d='*.apps.mgmt.mydomain.com'
[Thu Oct 27 00:11:51 CEST 2022] _authorizations_map='*.apps.mgmt.mydomain.com,{"identifier":{"type":"dns","value":"apps.mgmt.mydomain.com"},"status":"pending","expires":"2022-11-25T22:11:39Z","challenges":[{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/41Ib4o1C2qxoXZMMAfIswQ","status":"pending","token":"qFEtcXRkiJoGyFQTZbE4FY8W0nyoI-aN3jCuty0u-M4"}],"wildcard":true}
api.mgmt.mydomain.com,{"identifier":{"type":"dns","value":"api.mgmt.mydomain.com"},"status":"pending","expires":"2022-11-25T22:11:39Z","challenges":[{"type":"http-01","url":"https://acme.zerossl.com/v2/DV90/chall/AiGLI3RP8FT6MGQ5q8nSag","status":"pending","token":"K8VFluIk7fj0t05lrAqKlRQIeeH4dx2MJJME_4ReQbQ"},{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/GyU7148--KYuoh7m3ObJIg","status":"pending","token":"-OGB-1Lj3I8WNxBfbF95nX_qHl7vS5zkQsfMA610VlA"}]}
'
[Thu Oct 27 00:11:51 CEST 2022] d='api.mgmt.mydomain.com'
[Thu Oct 27 00:11:51 CEST 2022] Getting webroot for domain='api.mgmt.mydomain.com'
[Thu Oct 27 00:11:51 CEST 2022] _w='dns_azure'
[Thu Oct 27 00:11:51 CEST 2022] _currentRoot='dns_azure'
[Thu Oct 27 00:11:51 CEST 2022] _is_idn_d='api.mgmt.mydomain.com'
[Thu Oct 27 00:11:51 CEST 2022] _idn_temp
[Thu Oct 27 00:11:51 CEST 2022] _candidates='api.mgmt.mydomain.com,{"identifier":{"type":"dns","value":"api.mgmt.mydomain.com"},"status":"pending","expires":"2022-11-25T22:11:39Z","challenges":[{"type":"http-01","url":"https://acme.zerossl.com/v2/DV90/chall/AiGLI3RP8FT6MGQ5q8nSag","status":"pending","token":"K8VFluIk7fj0t05lrAqKlRQIeeH4dx2MJJME_4ReQbQ"},{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/GyU7148--KYuoh7m3ObJIg","status":"pending","token":"-OGB-1Lj3I8WNxBfbF95nX_qHl7vS5zkQsfMA610VlA"}]}'
[Thu Oct 27 00:11:51 CEST 2022] response='{"identifier":{"type":"dns","value":"api.mgmt.mydomain.com"},"status":"pending","expires":"2022-11-25T22:11:39Z","challenges":[{"type":"http-01","url":"https://acme.zerossl.com/v2/DV90/chall/AiGLI3RP8FT6MGQ5q8nSag","status":"pending","token":"K8VFluIk7fj0t05lrAqKlRQIeeH4dx2MJJME_4ReQbQ"},{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/GyU7148--KYuoh7m3ObJIg","status":"pending","token":"-OGB-1Lj3I8WNxBfbF95nX_qHl7vS5zkQsfMA610VlA"}]}'
[Thu Oct 27 00:11:51 CEST 2022] entry='"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/GyU7148--KYuoh7m3ObJIg","status":"pending","token":"-OGB-1Lj3I8WNxBfbF95nX_qHl7vS5zkQsfMA610VlA"'
[Thu Oct 27 00:11:51 CEST 2022] token='-OGB-1Lj3I8WNxBfbF95nX_qHl7vS5zkQsfMA610VlA'
[Thu Oct 27 00:11:52 CEST 2022] uri='https://acme.zerossl.com/v2/DV90/chall/GyU7148--KYuoh7m3ObJIg'
[Thu Oct 27 00:11:52 CEST 2022] keyauthorization='-OGB-1Lj3I8WNxBfbF95nX_qHl7vS5zkQsfMA610VlA.hkow6vbIFuS2DfbRFDgSpXqhiehaHxPWx21NqSdxesQ'
[Thu Oct 27 00:11:52 CEST 2022] dvlist='api.mgmt.mydomain.com#-OGB-1Lj3I8WNxBfbF95nX_qHl7vS5zkQsfMA610VlA.hkow6vbIFuS2DfbRFDgSpXqhiehaHxPWx21NqSdxesQ#https://acme.zerossl.com/v2/DV90/chall/GyU7148--KYuoh7m3ObJIg#dns-01#dns_azure'
[Thu Oct 27 00:11:52 CEST 2022] d='*.apps.mgmt.mydomain.com'
[Thu Oct 27 00:11:52 CEST 2022] Getting webroot for domain='*.apps.mgmt.mydomain.com'
[Thu Oct 27 00:11:52 CEST 2022] _w='dns_azure'
[Thu Oct 27 00:11:52 CEST 2022] _currentRoot='dns_azure'
[Thu Oct 27 00:11:52 CEST 2022] _is_idn_d='*.apps.mgmt.mydomain.com'
[Thu Oct 27 00:11:52 CEST 2022] _idn_temp
[Thu Oct 27 00:11:52 CEST 2022] _candidates='*.apps.mgmt.mydomain.com,{"identifier":{"type":"dns","value":"apps.mgmt.mydomain.com"},"status":"pending","expires":"2022-11-25T22:11:39Z","challenges":[{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/41Ib4o1C2qxoXZMMAfIswQ","status":"pending","token":"qFEtcXRkiJoGyFQTZbE4FY8W0nyoI-aN3jCuty0u-M4"}],"wildcard":true}'
[Thu Oct 27 00:11:52 CEST 2022] response='{"identifier":{"type":"dns","value":"apps.mgmt.mydomain.com"},"status":"pending","expires":"2022-11-25T22:11:39Z","challenges":[{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/41Ib4o1C2qxoXZMMAfIswQ","status":"pending","token":"qFEtcXRkiJoGyFQTZbE4FY8W0nyoI-aN3jCuty0u-M4"}],"wildcard":true}'
[Thu Oct 27 00:11:52 CEST 2022] entry='"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/41Ib4o1C2qxoXZMMAfIswQ","status":"pending","token":"qFEtcXRkiJoGyFQTZbE4FY8W0nyoI-aN3jCuty0u-M4"'
[Thu Oct 27 00:11:52 CEST 2022] token='qFEtcXRkiJoGyFQTZbE4FY8W0nyoI-aN3jCuty0u-M4'
[Thu Oct 27 00:11:52 CEST 2022] uri='https://acme.zerossl.com/v2/DV90/chall/41Ib4o1C2qxoXZMMAfIswQ'
[Thu Oct 27 00:11:52 CEST 2022] keyauthorization='qFEtcXRkiJoGyFQTZbE4FY8W0nyoI-aN3jCuty0u-M4.hkow6vbIFuS2DfbRFDgSpXqhiehaHxPWx21NqSdxesQ'
[Thu Oct 27 00:11:52 CEST 2022] dvlist='*.apps.mgmt.mydomain.com#qFEtcXRkiJoGyFQTZbE4FY8W0nyoI-aN3jCuty0u-M4.hkow6vbIFuS2DfbRFDgSpXqhiehaHxPWx21NqSdxesQ#https://acme.zerossl.com/v2/DV90/chall/41Ib4o1C2qxoXZMMAfIswQ#dns-01#dns_azure'
[Thu Oct 27 00:11:52 CEST 2022] d
[Thu Oct 27 00:11:52 CEST 2022] vlist='api.mgmt.mydomain.com#-OGB-1Lj3I8WNxBfbF95nX_qHl7vS5zkQsfMA610VlA.hkow6vbIFuS2DfbRFDgSpXqhiehaHxPWx21NqSdxesQ#https://acme.zerossl.com/v2/DV90/chall/GyU7148--KYuoh7m3ObJIg#dns-01#dns_azure,*.apps.mgmt.mydomain.com#qFEtcXRkiJoGyFQTZbE4FY8W0nyoI-aN3jCuty0u-M4.hkow6vbIFuS2DfbRFDgSpXqhiehaHxPWx21NqSdxesQ#https://acme.zerossl.com/v2/DV90/chall/41Ib4o1C2qxoXZMMAfIswQ#dns-01#dns_azure,'
[Thu Oct 27 00:11:52 CEST 2022] d='api.mgmt.mydomain.com'
[Thu Oct 27 00:11:53 CEST 2022] _d_alias
[Thu Oct 27 00:11:53 CEST 2022] txtdomain='_acme-challenge.api.mgmt.mydomain.com'
[Thu Oct 27 00:11:53 CEST 2022] txt='5o_L-e4AhNOCbtGpT6xK_XsoZcSCTQW8TpjA7X8d7UY'
[Thu Oct 27 00:11:53 CEST 2022] d_api
[Thu Oct 27 00:11:53 CEST 2022] dns_entry='api.mgmt.mydomain.com,_acme-challenge.api.mgmt.mydomain.com,,dns_azure,5o_L-e4AhNOCbtGpT6xK_XsoZcSCTQW8TpjA7X8d7UY,'
[Thu Oct 27 00:11:53 CEST 2022] Can not find dns api hook for: dns_azure
[Thu Oct 27 00:11:53 CEST 2022] You need to add the txt record manually.
[Thu Oct 27 00:11:53 CEST 2022] Add the following TXT record:
[Thu Oct 27 00:11:53 CEST 2022] Domain: '_acme-challenge.api.mgmt.mydomain.com'
[Thu Oct 27 00:11:53 CEST 2022] TXT value: '5o_L-e4AhNOCbtGpT6xK_XsoZcSCTQW8TpjA7X8d7UY'
[Thu Oct 27 00:11:53 CEST 2022] Please be aware that you prepend _acme-challenge. before your domain
[Thu Oct 27 00:11:53 CEST 2022] so the resulting subdomain will be: _acme-challenge.api.mgmt.mydomain.com
[Thu Oct 27 00:11:53 CEST 2022] d='*.apps.mgmt.mydomain.com'
[Thu Oct 27 00:11:53 CEST 2022] _d_alias
[Thu Oct 27 00:11:53 CEST 2022] txtdomain='_acme-challenge.apps.mgmt.mydomain.com'
[Thu Oct 27 00:11:53 CEST 2022] txt='7QQonH9B2cdWgdcvjY5JgBvVrpkwvf8nKzap7K-zh4E'
[Thu Oct 27 00:11:53 CEST 2022] d_api
[Thu Oct 27 00:11:54 CEST 2022] dns_entry='apps.mgmt.mydomain.com,_acme-challenge.apps.mgmt.mydomain.com,,dns_azure,7QQonH9B2cdWgdcvjY5JgBvVrpkwvf8nKzap7K-zh4E,'
[Thu Oct 27 00:11:54 CEST 2022] Can not find dns api hook for: dns_azure
[Thu Oct 27 00:11:54 CEST 2022] You need to add the txt record manually.
[Thu Oct 27 00:11:54 CEST 2022] Add the following TXT record:
[Thu Oct 27 00:11:54 CEST 2022] Domain: '_acme-challenge.apps.mgmt.mydomain.com'
[Thu Oct 27 00:11:54 CEST 2022] TXT value: '7QQonH9B2cdWgdcvjY5JgBvVrpkwvf8nKzap7K-zh4E'
[Thu Oct 27 00:11:54 CEST 2022] Please be aware that you prepend _acme-challenge. before your domain
[Thu Oct 27 00:11:54 CEST 2022] so the resulting subdomain will be: _acme-challenge.apps.mgmt.mydomain.com
[Thu Oct 27 00:11:54 CEST 2022] Dns record not added yet, so, save to /home/pk/.acme.sh/api.mgmt.mydomain.com/api.mgmt.mydomain.com.conf and exit.
[Thu Oct 27 00:11:54 CEST 2022] Please add the TXT records to the domains, and re-run with --renew.
[Thu Oct 27 00:11:54 CEST 2022] _on_issue_err
[Thu Oct 27 00:11:54 CEST 2022] Please check log file for more details: /home/pk/.acme.sh/acme.sh.log
[Thu Oct 27 00:11:54 CEST 2022] _chk_vlist
[Thu Oct 27 00:11:54 CEST 2022] socat doesn't exist.
[Thu Oct 27 00:11:54 CEST 2022] Diagnosis versions:
openssl:openssl
OpenSSL 1.1.1f  31 Mar 2020
apache:
apache doesn't exist.
nginx:
nginx doesn't exist.
socat:
[Thu Oct 27 00:11:54 CEST 2022] pid
[Thu Oct 27 00:11:54 CEST 2022] No need to restore nginx, skip.
[Thu Oct 27 00:11:54 CEST 2022] _clearupdns
[Thu Oct 27 00:11:54 CEST 2022] dns_entries
[Thu Oct 27 00:11:54 CEST 2022] skip dns.
pk@mypc:~/mydir/Downloads$ ${HOME}/.acme.sh/acme.sh --issue --dns dns_azure -d apitest.mgmt.mydomain.com --log --debug 2
[Thu Oct 27 00:12:08 CEST 2022] Lets find script dir.
[Thu Oct 27 00:12:08 CEST 2022] _SCRIPT_='/home/pk/.acme.sh/acme.sh'
[Thu Oct 27 00:12:08 CEST 2022] _script='/home/pk/.acme.sh/acme.sh'
[Thu Oct 27 00:12:08 CEST 2022] _script_home='/home/pk/.acme.sh'
[Thu Oct 27 00:12:08 CEST 2022] Using config home:/home/pk/.acme.sh
[Thu Oct 27 00:12:09 CEST 2022] LE_WORKING_DIR='/home/pk/.acme.sh'
https://github.com/acmesh-official/acme.sh
v3.0.5
[Thu Oct 27 00:12:09 CEST 2022] Running cmd: issue
[Thu Oct 27 00:12:09 CEST 2022] _main_domain='apitest.mgmt.mydomain.com'
[Thu Oct 27 00:12:09 CEST 2022] _alt_domains='no'
[Thu Oct 27 00:12:09 CEST 2022] Using config home:/home/pk/.acme.sh
[Thu Oct 27 00:12:09 CEST 2022] default_acme_server
[Thu Oct 27 00:12:09 CEST 2022] ACME_DIRECTORY='https://acme.zerossl.com/v2/DV90'
[Thu Oct 27 00:12:09 CEST 2022] _ACME_SERVER_HOST='acme.zerossl.com'
[Thu Oct 27 00:12:09 CEST 2022] _ACME_SERVER_PATH='v2/DV90'
[Thu Oct 27 00:12:09 CEST 2022] DOMAIN_PATH='/home/pk/.acme.sh/apitest.mgmt.mydomain.com'
[Thu Oct 27 00:12:09 CEST 2022] 'dns_azure' does not contain 'dns'
[Thu Oct 27 00:12:09 CEST 2022] Le_NextRenewTime
[Thu Oct 27 00:12:09 CEST 2022] Using ACME_DIRECTORY: https://acme.zerossl.com/v2/DV90
[Thu Oct 27 00:12:09 CEST 2022] _init api for server: https://acme.zerossl.com/v2/DV90
[Thu Oct 27 00:12:09 CEST 2022] GET
[Thu Oct 27 00:12:09 CEST 2022] url='https://acme.zerossl.com/v2/DV90'
[Thu Oct 27 00:12:09 CEST 2022] timeout=
[Thu Oct 27 00:12:09 CEST 2022] _CURL='curl --silent --dump-header /home/pk/.acme.sh/http.header  -L  --trace-ascii /tmp/tmp.30UuMHYQu7  -g '
[Thu Oct 27 00:12:10 CEST 2022] ret='0'
[Thu Oct 27 00:12:10 CEST 2022] 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/20221001_Certificate_Subscriber_Agreement_v_2_5_click.pdf",
    "website": "https://zerossl.com",
    "caaIdentities": ["sectigo.com", "trust-provider.com", "usertrust.com", "comodoca.com", "comodo.com"],
    "externalAccountRequired": true
  }
}'
[Thu Oct 27 00:12:10 CEST 2022] ACME_KEY_CHANGE='https://acme.zerossl.com/v2/DV90/keyChange'
[Thu Oct 27 00:12:10 CEST 2022] ACME_NEW_AUTHZ
[Thu Oct 27 00:12:10 CEST 2022] ACME_NEW_ORDER='https://acme.zerossl.com/v2/DV90/newOrder'
[Thu Oct 27 00:12:10 CEST 2022] ACME_NEW_ACCOUNT='https://acme.zerossl.com/v2/DV90/newAccount'
[Thu Oct 27 00:12:10 CEST 2022] ACME_REVOKE_CERT='https://acme.zerossl.com/v2/DV90/revokeCert'
[Thu Oct 27 00:12:10 CEST 2022] ACME_AGREEMENT='https://secure.trust-provider.com/repository/docs/Legacy/20221001_Certificate_Subscriber_Agreement_v_2_5_click.pdf'
[Thu Oct 27 00:12:10 CEST 2022] ACME_NEW_NONCE='https://acme.zerossl.com/v2/DV90/newNonce'
[Thu Oct 27 00:12:11 CEST 2022] Using CA: https://acme.zerossl.com/v2/DV90
[Thu Oct 27 00:12:11 CEST 2022] _on_before_issue
[Thu Oct 27 00:12:11 CEST 2022] _chk_main_domain='apitest.mgmt.mydomain.com'
[Thu Oct 27 00:12:11 CEST 2022] _chk_alt_domains
[Thu Oct 27 00:12:11 CEST 2022] 'dns_azure' does not contain 'no'
[Thu Oct 27 00:12:11 CEST 2022] Le_LocalAddress
[Thu Oct 27 00:12:11 CEST 2022] d='apitest.mgmt.mydomain.com'
[Thu Oct 27 00:12:11 CEST 2022] Check for domain='apitest.mgmt.mydomain.com'
[Thu Oct 27 00:12:11 CEST 2022] _currentRoot='dns_azure'
[Thu Oct 27 00:12:12 CEST 2022] d
[Thu Oct 27 00:12:12 CEST 2022] 'dns_azure' does not contain 'apache'
[Thu Oct 27 00:12:12 CEST 2022] _saved_account_key_hash='KrLlP5ZgREhiKFuWm7EbjemLl/96HIphGATFfUAjC0o='
[Thu Oct 27 00:12:12 CEST 2022] _saved_account_key_hash is not changed, skip register account.
[Thu Oct 27 00:12:12 CEST 2022] Read key length:2048
[Thu Oct 27 00:12:12 CEST 2022] _createcsr
[Thu Oct 27 00:12:12 CEST 2022] domain='apitest.mgmt.mydomain.com'
[Thu Oct 27 00:12:12 CEST 2022] domainlist
[Thu Oct 27 00:12:12 CEST 2022] csrkey='/home/pk/.acme.sh/apitest.mgmt.mydomain.com/apitest.mgmt.mydomain.com.key'
[Thu Oct 27 00:12:12 CEST 2022] csr='/home/pk/.acme.sh/apitest.mgmt.mydomain.com/apitest.mgmt.mydomain.com.csr'
[Thu Oct 27 00:12:12 CEST 2022] csrconf='/home/pk/.acme.sh/apitest.mgmt.mydomain.com/apitest.mgmt.mydomain.com.csr.conf'
[Thu Oct 27 00:12:12 CEST 2022] Single domain='apitest.mgmt.mydomain.com'
[Thu Oct 27 00:12:12 CEST 2022] seg='apitest'
[Thu Oct 27 00:12:12 CEST 2022] _is_idn_d='apitest.mgmt.mydomain.com'
[Thu Oct 27 00:12:12 CEST 2022] _idn_temp
[Thu Oct 27 00:12:12 CEST 2022] _is_idn_d='apitest.mgmt.mydomain.com'
[Thu Oct 27 00:12:12 CEST 2022] _idn_temp
[Thu Oct 27 00:12:12 CEST 2022] _csr_cn='apitest.mgmt.mydomain.com'
[Thu Oct 27 00:12:12 CEST 2022] seg='apitest'
[Thu Oct 27 00:12:12 CEST 2022] Getting domain auth token for each domain
[Thu Oct 27 00:12:12 CEST 2022] seg='apitest'
[Thu Oct 27 00:12:13 CEST 2022] _is_idn_d='apitest.mgmt.mydomain.com'
[Thu Oct 27 00:12:13 CEST 2022] _idn_temp
[Thu Oct 27 00:12:13 CEST 2022] d
[Thu Oct 27 00:12:13 CEST 2022] _identifiers='{"type":"dns","value":"apitest.mgmt.mydomain.com"}'
[Thu Oct 27 00:12:13 CEST 2022] _notBefore
[Thu Oct 27 00:12:13 CEST 2022] _notAfter
[Thu Oct 27 00:12:13 CEST 2022] url='https://acme.zerossl.com/v2/DV90/newOrder'
[Thu Oct 27 00:12:13 CEST 2022] payload='{"identifiers": [{"type":"dns","value":"apitest.mgmt.mydomain.com"}]}'
[Thu Oct 27 00:12:13 CEST 2022] RSA key
[Thu Oct 27 00:12:13 CEST 2022] Get nonce with HEAD. ACME_NEW_NONCE='https://acme.zerossl.com/v2/DV90/newNonce'
[Thu Oct 27 00:12:13 CEST 2022] HEAD
[Thu Oct 27 00:12:13 CEST 2022] _post_url='https://acme.zerossl.com/v2/DV90/newNonce'
[Thu Oct 27 00:12:13 CEST 2022] body
[Thu Oct 27 00:12:13 CEST 2022] _postContentType='application/jose+json'
[Thu Oct 27 00:12:13 CEST 2022] _CURL='curl --silent --dump-header /home/pk/.acme.sh/http.header  -L  --trace-ascii /tmp/tmp.enab1U3gAa  -g  -I  '
[Thu Oct 27 00:12:22 CEST 2022] _ret='0'
[Thu Oct 27 00:12:22 CEST 2022] _headers='HTTP/2 200
server: nginx
date: Wed, 26 Oct 2022 22:12:22 GMT
content-type: application/octet-stream
replay-nonce: AgNSNAxrG-UbKjZtOVIGq_H3c8wnLI71STXDg-xRHu4
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
'
[Thu Oct 27 00:12:22 CEST 2022] _CACHED_NONCE='AgNSNAxrG-UbKjZtOVIGq_H3c8wnLI71STXDg-xRHu4'
[Thu Oct 27 00:12:23 CEST 2022] nonce='AgNSNAxrG-UbKjZtOVIGq_H3c8wnLI71STXDg-xRHu4'
[Thu Oct 27 00:12:23 CEST 2022] POST
[Thu Oct 27 00:12:23 CEST 2022] _post_url='https://acme.zerossl.com/v2/DV90/newOrder'
[Thu Oct 27 00:12:23 CEST 2022] body='{"protected": "eyJub25jZSI6ICJBZ05TTkF4ckctVWJLalp0T1ZJR3FfSDNjOHduTEk3MVNUWERnLXhSSHU0IiwgInVybCI6ICJodHRwczovL2FjbWUuemVyb3NzbC5jb20vdjIvRFY5MC9uZXdPcmRlciIsICJhbGciOiAiUlMyNTYiLCAia2lkIjogImh0dHBzOi8vYWNtZS56ZXJvc3NsLmNvbS92Mi9EVjkwL2FjY291bnQvYkdnMks0Y3NqOGJCS3htVjIybldUZyJ9", "payload": "eyJpZGVudGlmaWVycyI6IFt7InR5cGUiOiJkbnMiLCJ2YWx1ZSI6ImFwaXRlc3QubWdtdC5rbWRzdHJhdHVzLmNvbSJ9XX0", "signature": "J5KNWlGgSmiBlWDLqRPpEDBnwY0AFVrIV4yxew0YDv6B17Psugw2XkduflzDdeScuhJWQMm5I7jCO0Dvaa_CH10QFuo-QnReNk2iu5bYzY9wumn6fRuppOKkuMa0WDRcn6gdbW6RzXtYR5-4RIcx2hANMcs6zKuuf22mRvqvtumEW4s20oPFgjXLYay052O-SArNM0y-tsVQsC5cJJxermkXxrjVJ-QBiMjwATYYU97qfsTe-hUr6AFDvniFKYFAF-Nw9E2tUxU0ZFHgnVG2QpbPtq2FeDsAXQPCnGvaS20eZN1UsVOhTd-sLWYzEWK1REUBGxhcaSytaUJuWlas8w"}'
[Thu Oct 27 00:12:23 CEST 2022] _postContentType='application/jose+json'
[Thu Oct 27 00:12:23 CEST 2022] Http already initialized.
[Thu Oct 27 00:12:23 CEST 2022] _CURL='curl --silent --dump-header /home/pk/.acme.sh/http.header  -L  --trace-ascii /tmp/tmp.enab1U3gAa  -g '
[Thu Oct 27 00:12:28 CEST 2022] _ret='0'
[Thu Oct 27 00:12:28 CEST 2022] responseHeaders='HTTP/2 201
server: nginx
date: Wed, 26 Oct 2022 22:12:28 GMT
content-type: application/json
content-length: 289
replay-nonce: Meb8dnYRutaQv8bShtFP05DrRsl0GOkT23ajdSGOMqw
cache-control: max-age=0, no-cache, no-store
access-control-allow-origin: *
location: https://acme.zerossl.com/v2/DV90/order/vMwLzvSvL0hkFcWA11qKmQ
strict-transport-security: max-age=15724800; includeSubDomains
'
[Thu Oct 27 00:12:28 CEST 2022] code='201'
[Thu Oct 27 00:12:28 CEST 2022] original='{"status":"pending","expires":"2023-01-24T22:12:28Z","identifiers":[{"type":"dns","value":"apitest.mgmt.mydomain.com"}],"authorizations":["https://acme.zerossl.com/v2/DV90/authz/8L6hskYbp6-ut7fbDo39hA"],"finalize":"https://acme.zerossl.com/v2/DV90/order/vMwLzvSvL0hkFcWA11qKmQ/finalize"}'
[Thu Oct 27 00:12:28 CEST 2022] response='{"status":"pending","expires":"2023-01-24T22:12:28Z","identifiers":[{"type":"dns","value":"apitest.mgmt.mydomain.com"}],"authorizations":["https://acme.zerossl.com/v2/DV90/authz/8L6hskYbp6-ut7fbDo39hA"],"finalize":"https://acme.zerossl.com/v2/DV90/order/vMwLzvSvL0hkFcWA11qKmQ/finalize"}'
[Thu Oct 27 00:12:28 CEST 2022] Le_LinkOrder='https://acme.zerossl.com/v2/DV90/order/vMwLzvSvL0hkFcWA11qKmQ'
[Thu Oct 27 00:12:28 CEST 2022] Le_OrderFinalize='https://acme.zerossl.com/v2/DV90/order/vMwLzvSvL0hkFcWA11qKmQ/finalize'
[Thu Oct 27 00:12:29 CEST 2022] _authorizations_seg='https://acme.zerossl.com/v2/DV90/authz/8L6hskYbp6-ut7fbDo39hA'
[Thu Oct 27 00:12:29 CEST 2022] _authz_url='https://acme.zerossl.com/v2/DV90/authz/8L6hskYbp6-ut7fbDo39hA'
[Thu Oct 27 00:12:29 CEST 2022] url='https://acme.zerossl.com/v2/DV90/authz/8L6hskYbp6-ut7fbDo39hA'
[Thu Oct 27 00:12:29 CEST 2022] payload
[Thu Oct 27 00:12:29 CEST 2022] Use cached jwk for file: /home/pk/.acme.sh/ca/acme.zerossl.com/v2/DV90/account.key
[Thu Oct 27 00:12:29 CEST 2022] Use _CACHED_NONCE='Meb8dnYRutaQv8bShtFP05DrRsl0GOkT23ajdSGOMqw'
[Thu Oct 27 00:12:29 CEST 2022] nonce='Meb8dnYRutaQv8bShtFP05DrRsl0GOkT23ajdSGOMqw'
[Thu Oct 27 00:12:29 CEST 2022] POST
[Thu Oct 27 00:12:29 CEST 2022] _post_url='https://acme.zerossl.com/v2/DV90/authz/8L6hskYbp6-ut7fbDo39hA'
[Thu Oct 27 00:12:29 CEST 2022] body='{"protected": "eyJub25jZSI6ICJNZWI4ZG5ZUnV0YVF2OGJTaHRGUDA1RHJSc2wwR09rVDIzYWpkU0dPTXF3IiwgInVybCI6ICJodHRwczovL2FjbWUuemVyb3NzbC5jb20vdjIvRFY5MC9hdXRoei84TDZoc2tZYnA2LXV0N2ZiRG8zOWhBIiwgImFsZyI6ICJSUzI1NiIsICJraWQiOiAiaHR0cHM6Ly9hY21lLnplcm9zc2wuY29tL3YyL0RWOTAvYWNjb3VudC9iR2cySzRjc2o4YkJLeG1WMjJuV1RnIn0", "payload": "", "signature": "aEnmfVVJW9cgLMQInJdlC7tM1SP7TsvkhQAdjOHzMu_Lq7WczEcTC0EqhlrSsGH6xa99_VTfy7uihmKiSeLNv6g-h72LGamLFHTuLpi3wwQMBjqY65d1mj3fbEzIJcUfOTAYllgw2hS03eAxdzyThFNJmakOUqaODyr5QhT4CUqXkLZIOoh57y4r3TSIGUCIrOPTcOjz6yFhBU3FRRRGWFkhFA0cWJiLcK_DGQaTxDiIeV2dAW03NfIAbOZK4wjhiT0yuW7hFR1H6MuyjBXF3Wt9kffPh2DmPhydrsVFMB01sD2m__CLKyMGBt1YhgzDCE5SSR51-gN26GdsWAmbHw"}'
[Thu Oct 27 00:12:29 CEST 2022] _postContentType='application/jose+json'
[Thu Oct 27 00:12:29 CEST 2022] Http already initialized.
[Thu Oct 27 00:12:29 CEST 2022] _CURL='curl --silent --dump-header /home/pk/.acme.sh/http.header  -L  --trace-ascii /tmp/tmp.enab1U3gAa  -g '
[Thu Oct 27 00:12:32 CEST 2022] _ret='0'
[Thu Oct 27 00:12:32 CEST 2022] responseHeaders='HTTP/2 200
server: nginx
date: Wed, 26 Oct 2022 22:12:32 GMT
content-type: application/json
content-length: 457
replay-nonce: RII6Edyf1HHtMjyx-QDPqehPF-y-ADvZHSaOVsfURYw
cache-control: max-age=0, no-cache, no-store
access-control-allow-origin: *
link: <https://acme.zerossl.com/v2/DV90>;rel="index"
retry-after: 5
strict-transport-security: max-age=15724800; includeSubDomains
'
[Thu Oct 27 00:12:32 CEST 2022] code='200'
[Thu Oct 27 00:12:32 CEST 2022] original='{"identifier":{"type":"dns","value":"apitest.mgmt.mydomain.com"},"status":"pending","expires":"2022-11-25T22:12:28Z","challenges":[{"type":"http-01","url":"https://acme.zerossl.com/v2/DV90/chall/2eav0uG-mLIroJPEN-Leqg","status":"pending","token":"8SsgF8QCAqkT41l9FiSBlSmqxnadCg9nEiOEwB-AEDg"},{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/t9wep7uCCArrDTcDlAqBVQ","status":"pending","token":"JRgM2xHOj9nCQ_fAg19vojT-wrPgR7dy_e-fcQKZemQ"}]}'
[Thu Oct 27 00:12:32 CEST 2022] response='{"identifier":{"type":"dns","value":"apitest.mgmt.mydomain.com"},"status":"pending","expires":"2022-11-25T22:12:28Z","challenges":[{"type":"http-01","url":"https://acme.zerossl.com/v2/DV90/chall/2eav0uG-mLIroJPEN-Leqg","status":"pending","token":"8SsgF8QCAqkT41l9FiSBlSmqxnadCg9nEiOEwB-AEDg"},{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/t9wep7uCCArrDTcDlAqBVQ","status":"pending","token":"JRgM2xHOj9nCQ_fAg19vojT-wrPgR7dy_e-fcQKZemQ"}]}'
[Thu Oct 27 00:12:32 CEST 2022] response='{"identifier":{"type":"dns","value":"apitest.mgmt.mydomain.com"},"status":"pending","expires":"2022-11-25T22:12:28Z","challenges":[{"type":"http-01","url":"https://acme.zerossl.com/v2/DV90/chall/2eav0uG-mLIroJPEN-Leqg","status":"pending","token":"8SsgF8QCAqkT41l9FiSBlSmqxnadCg9nEiOEwB-AEDg"},{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/t9wep7uCCArrDTcDlAqBVQ","status":"pending","token":"JRgM2xHOj9nCQ_fAg19vojT-wrPgR7dy_e-fcQKZemQ"}]}'
[Thu Oct 27 00:12:32 CEST 2022] _d='apitest.mgmt.mydomain.com'
[Thu Oct 27 00:12:32 CEST 2022] _authorizations_map='apitest.mgmt.mydomain.com,{"identifier":{"type":"dns","value":"apitest.mgmt.mydomain.com"},"status":"pending","expires":"2022-11-25T22:12:28Z","challenges":[{"type":"http-01","url":"https://acme.zerossl.com/v2/DV90/chall/2eav0uG-mLIroJPEN-Leqg","status":"pending","token":"8SsgF8QCAqkT41l9FiSBlSmqxnadCg9nEiOEwB-AEDg"},{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/t9wep7uCCArrDTcDlAqBVQ","status":"pending","token":"JRgM2xHOj9nCQ_fAg19vojT-wrPgR7dy_e-fcQKZemQ"}]}
'
[Thu Oct 27 00:12:32 CEST 2022] d='apitest.mgmt.mydomain.com'
[Thu Oct 27 00:12:32 CEST 2022] Getting webroot for domain='apitest.mgmt.mydomain.com'
[Thu Oct 27 00:12:32 CEST 2022] _w='dns_azure'
[Thu Oct 27 00:12:32 CEST 2022] _currentRoot='dns_azure'
[Thu Oct 27 00:12:32 CEST 2022] _is_idn_d='apitest.mgmt.mydomain.com'
[Thu Oct 27 00:12:32 CEST 2022] _idn_temp
[Thu Oct 27 00:12:33 CEST 2022] _candidates='apitest.mgmt.mydomain.com,{"identifier":{"type":"dns","value":"apitest.mgmt.mydomain.com"},"status":"pending","expires":"2022-11-25T22:12:28Z","challenges":[{"type":"http-01","url":"https://acme.zerossl.com/v2/DV90/chall/2eav0uG-mLIroJPEN-Leqg","status":"pending","token":"8SsgF8QCAqkT41l9FiSBlSmqxnadCg9nEiOEwB-AEDg"},{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/t9wep7uCCArrDTcDlAqBVQ","status":"pending","token":"JRgM2xHOj9nCQ_fAg19vojT-wrPgR7dy_e-fcQKZemQ"}]}'
[Thu Oct 27 00:12:33 CEST 2022] response='{"identifier":{"type":"dns","value":"apitest.mgmt.mydomain.com"},"status":"pending","expires":"2022-11-25T22:12:28Z","challenges":[{"type":"http-01","url":"https://acme.zerossl.com/v2/DV90/chall/2eav0uG-mLIroJPEN-Leqg","status":"pending","token":"8SsgF8QCAqkT41l9FiSBlSmqxnadCg9nEiOEwB-AEDg"},{"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/t9wep7uCCArrDTcDlAqBVQ","status":"pending","token":"JRgM2xHOj9nCQ_fAg19vojT-wrPgR7dy_e-fcQKZemQ"}]}'
[Thu Oct 27 00:12:33 CEST 2022] entry='"type":"dns-01","url":"https://acme.zerossl.com/v2/DV90/chall/t9wep7uCCArrDTcDlAqBVQ","status":"pending","token":"JRgM2xHOj9nCQ_fAg19vojT-wrPgR7dy_e-fcQKZemQ"'
[Thu Oct 27 00:12:33 CEST 2022] token='JRgM2xHOj9nCQ_fAg19vojT-wrPgR7dy_e-fcQKZemQ'
[Thu Oct 27 00:12:33 CEST 2022] uri='https://acme.zerossl.com/v2/DV90/chall/t9wep7uCCArrDTcDlAqBVQ'
[Thu Oct 27 00:12:33 CEST 2022] keyauthorization='JRgM2xHOj9nCQ_fAg19vojT-wrPgR7dy_e-fcQKZemQ.hkow6vbIFuS2DfbRFDgSpXqhiehaHxPWx21NqSdxesQ'
[Thu Oct 27 00:12:33 CEST 2022] dvlist='apitest.mgmt.mydomain.com#JRgM2xHOj9nCQ_fAg19vojT-wrPgR7dy_e-fcQKZemQ.hkow6vbIFuS2DfbRFDgSpXqhiehaHxPWx21NqSdxesQ#https://acme.zerossl.com/v2/DV90/chall/t9wep7uCCArrDTcDlAqBVQ#dns-01#dns_azure'
[Thu Oct 27 00:12:33 CEST 2022] d
[Thu Oct 27 00:12:33 CEST 2022] vlist='apitest.mgmt.mydomain.com#JRgM2xHOj9nCQ_fAg19vojT-wrPgR7dy_e-fcQKZemQ.hkow6vbIFuS2DfbRFDgSpXqhiehaHxPWx21NqSdxesQ#https://acme.zerossl.com/v2/DV90/chall/t9wep7uCCArrDTcDlAqBVQ#dns-01#dns_azure,'
[Thu Oct 27 00:12:33 CEST 2022] d='apitest.mgmt.mydomain.com'
[Thu Oct 27 00:12:33 CEST 2022] _d_alias
[Thu Oct 27 00:12:33 CEST 2022] txtdomain='_acme-challenge.apitest.mgmt.mydomain.com'
[Thu Oct 27 00:12:33 CEST 2022] txt='61DY1NzGKv3EGnLx53wyiMt9q_RMBetdHhm1ItV8fmU'
[Thu Oct 27 00:12:33 CEST 2022] d_api
[Thu Oct 27 00:12:33 CEST 2022] dns_entry='apitest.mgmt.mydomain.com,_acme-challenge.apitest.mgmt.mydomain.com,,dns_azure,61DY1NzGKv3EGnLx53wyiMt9q_RMBetdHhm1ItV8fmU,'
[Thu Oct 27 00:12:33 CEST 2022] Can not find dns api hook for: dns_azure
[Thu Oct 27 00:12:33 CEST 2022] You need to add the txt record manually.
[Thu Oct 27 00:12:33 CEST 2022] Add the following TXT record:
[Thu Oct 27 00:12:33 CEST 2022] Domain: '_acme-challenge.apitest.mgmt.mydomain.com'
[Thu Oct 27 00:12:33 CEST 2022] TXT value: '61DY1NzGKv3EGnLx53wyiMt9q_RMBetdHhm1ItV8fmU'
[Thu Oct 27 00:12:34 CEST 2022] Please be aware that you prepend _acme-challenge. before your domain
[Thu Oct 27 00:12:34 CEST 2022] so the resulting subdomain will be: _acme-challenge.apitest.mgmt.mydomain.com
[Thu Oct 27 00:12:34 CEST 2022] Dns record not added yet, so, save to /home/pk/.acme.sh/apitest.mgmt.mydomain.com/apitest.mgmt.mydomain.com.conf and exit.
[Thu Oct 27 00:12:34 CEST 2022] Please add the TXT records to the domains, and re-run with --renew.
[Thu Oct 27 00:12:34 CEST 2022] _on_issue_err
[Thu Oct 27 00:12:34 CEST 2022] Please check log file for more details: /home/pk/.acme.sh/acme.sh.log
[Thu Oct 27 00:12:34 CEST 2022] _chk_vlist
[Thu Oct 27 00:12:34 CEST 2022] socat doesn't exist.
[Thu Oct 27 00:12:34 CEST 2022] Diagnosis versions:
openssl:openssl
OpenSSL 1.1.1f  31 Mar 2020
apache:
apache doesn't exist.
nginx:
nginx doesn't exist.
socat:
[Thu Oct 27 00:12:34 CEST 2022] pid
[Thu Oct 27 00:12:34 CEST 2022] No need to restore nginx, skip.
[Thu Oct 27 00:12:34 CEST 2022] _clearupdns
[Thu Oct 27 00:12:34 CEST 2022] dns_entries
[Thu Oct 27 00:12:34 CEST 2022] skip dns.
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.
I've already used the latest version. The debug log has been provided.
This may be related to the amount of subscriptions I have access to in my Azure account. pk@mypc:~/myid/Downloads$ az account list | grep "id" WARNING: A few accounts are skipped as they don't have 'Enabled' state. Use '--all' to display them. "id": "33f69770-ad9c-4cf8-b1c9-c3dcc5f07e69", "id": "23c68c30-a104-4836-a05b-788e90fd5a9f", "id": "dde2100b-a10f-48c0-8bfe-b3186ee71be8", "id": "cae75907-a3a4-4b35-a156-3548a8b3b88b", "id": "84952066-4d3c-4724-bc04-27c36204b0d2", "id": "9cc5f0c0-3e61-42f8-83dd-facee7a8c0ea", "id": "3f122c9c-3c1b-4071-9039-c8a416434355", "id": "8a72d928-077e-4192-bddb-53a5d16cc8a6", "id": "6f9682d7-f63c-4cb8-ab14-b1356de24660", "id": "1b1b0c5c-1845-4537-be7f-9a3c91dad40b", "id": "b5f3f088-9e9a-4fb0-bbe3-7b315f403cda", "id": "662fdea5-8111-4542-b0ae-ad0bb981351e", "id": "f8f2febc-4706-4754-94fc-f35cc1647b80", I have 13 subscriptions. A colleague from my team has only 1 subscription, and the script works fine for him.
[Thu Oct 27 00:11:53 CEST 2022] Can not find dns api hook for: dns_azure
[Thu Oct 27 00:11:53 CEST 2022] You need to add the txt record manually.
do you have dns_azure.sh in your $HOME/.acme.sh/dnsapi/ ?
No, there is no dnsapi folder at all.
$ ls -la
total 424
drwx------ 1 pk pk    512 Oct 27 00:08 .
drwxr-xr-x 1 pk pk    512 Oct 28 12:01 ..
-rw-r--r-- 1 pk pk    181 Oct 28 12:03 account.conf
-rwxr-xr-x 1 pk pk 219494 Oct 26 23:27 acme.sh
-rw-r--r-- 1 pk pk     84 Oct 24 15:30 acme.sh.env
-rw-r--r-- 1 pk pk 204882 Oct 28 12:03 acme.sh.log
drwxr-xr-x 1 pk pk    512 Oct 26 12:56 api.mgmt.mydomain.com
drwxr-xr-x 1 pk pk    512 Oct 24 16:58 api.skat.mydomain.com
drwxr-xr-x 1 pk pk    512 Oct 27 00:08 apitest.mgmt.mydomain.com
drwxr-xr-x 1 pk pk    512 Oct 24 16:57 ca
-rw-r--r-- 1 pk pk    391 Oct 28 12:03 http.header
curl https://get.acme.sh | sh -s [email protected]
Thanks, it worked.