I'm trying to issue a wildcard certificate but not success. I have stoped my nginx container and no other process using port 80 and 443.
I also added the machine IP to the Whitelist.
Short error message:
[Mon Apr 1 02:59:00 UTC 2019] Logging in failed.
[Mon Apr 1 02:59:00 UTC 2019] Error add txt for domain:_acme-challenge.example.com
[Mon Apr 1 02:59:00 UTC 2019] Please check log file for more details: /acme.sh/acme.sh.log
[Mon Apr 1 02:59:00 UTC 2019] Removing DNS records.
[Mon Apr 1 02:59:00 UTC 2019] Logging in failed.
[Mon Apr 1 02:59:00 UTC 2019] Error removing txt for domain:_acme-challenge.example.com
I'm trying to issue a wildcard certificate but not success. I have stoped my nginx container and no other process using port 80 and 443. I also added the machine IP to the Whitelist.
Short error message:
Steps to reproduce
My acme.sh config file: docker-compose.yml
Commands to issue a certificate:
Environment:
Debug log
/acme.sh/acme.sh.log
``` [Mon Apr 1 05:46:45 UTC 2019] _main_domain='*.example.com' [Mon Apr 1 05:46:45 UTC 2019] _alt_domains='no' [Mon Apr 1 05:46:45 UTC 2019] Using config home:/acme.sh [Mon Apr 1 05:46:45 UTC 2019] ACME_DIRECTORY='https://acme-v02.api.letsencrypt.org/directory' [Mon Apr 1 05:46:45 UTC 2019] DOMAIN_PATH='/acme.sh/*.example.com' [Mon Apr 1 05:46:45 UTC 2019] Using ACME_DIRECTORY: https://acme-v02.api.letsencrypt.org/directory [Mon Apr 1 05:46:45 UTC 2019] _init api for server: https://acme-v02.api.letsencrypt.org/directory [Mon Apr 1 05:46:45 UTC 2019] GET [Mon Apr 1 05:46:45 UTC 2019] url='https://acme-v02.api.letsencrypt.org/directory' [Mon Apr 1 05:46:45 UTC 2019] timeout= [Mon Apr 1 05:46:45 UTC 2019] _CURL='curl -L --silent --dump-header /acme.sh/http.header --trace-ascii /tmp/tmp.H3oQtBmV06 -g ' [Mon Apr 1 05:46:45 UTC 2019] ret='0' [Mon Apr 1 05:46:45 UTC 2019] ACME_KEY_CHANGE='https://acme-v02.api.letsencrypt.org/acme/key-change' [Mon Apr 1 05:46:45 UTC 2019] ACME_NEW_AUTHZ [Mon Apr 1 05:46:45 UTC 2019] ACME_NEW_ORDER='https://acme-v02.api.letsencrypt.org/acme/new-order' [Mon Apr 1 05:46:45 UTC 2019] ACME_NEW_ACCOUNT='https://acme-v02.api.letsencrypt.org/acme/new-acct' [Mon Apr 1 05:46:45 UTC 2019] ACME_REVOKE_CERT='https://acme-v02.api.letsencrypt.org/acme/revoke-cert' [Mon Apr 1 05:46:45 UTC 2019] ACME_AGREEMENT='https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf' [Mon Apr 1 05:46:45 UTC 2019] ACME_NEW_NONCE='https://acme-v02.api.letsencrypt.org/acme/new-nonce' [Mon Apr 1 05:46:45 UTC 2019] ACME_VERSION='2' [Mon Apr 1 05:46:45 UTC 2019] Le_NextRenewTime [Mon Apr 1 05:46:45 UTC 2019] _on_before_issue [Mon Apr 1 05:46:45 UTC 2019] _chk_main_domain='*.example.com' [Mon Apr 1 05:46:45 UTC 2019] _chk_alt_domains [Mon Apr 1 05:46:45 UTC 2019] Le_LocalAddress [Mon Apr 1 05:46:45 UTC 2019] d='*.example.com' [Mon Apr 1 05:46:45 UTC 2019] Check for domain='*.example.com' [Mon Apr 1 05:46:45 UTC 2019] _currentRoot='dns_namecom' [Mon Apr 1 05:46:45 UTC 2019] d [Mon Apr 1 05:46:45 UTC 2019] _saved_account_key_hash is not changed, skip register account. [Mon Apr 1 05:46:45 UTC 2019] Read key length: [Mon Apr 1 05:46:45 UTC 2019] _createcsr [Mon Apr 1 05:46:45 UTC 2019] Single domain='*.example.com' [Mon Apr 1 05:46:45 UTC 2019] Getting domain auth token for each domain [Mon Apr 1 05:46:45 UTC 2019] d [Mon Apr 1 05:46:45 UTC 2019] url='https://acme-v02.api.letsencrypt.org/acme/new-order' [Mon Apr 1 05:46:45 UTC 2019] payload='{"identifiers": [{"type":"dns","value":"*.example.com"}]}' [Mon Apr 1 05:46:45 UTC 2019] RSA key [Mon Apr 1 05:46:46 UTC 2019] HEAD [Mon Apr 1 05:46:46 UTC 2019] _post_url='https://acme-v02.api.letsencrypt.org/acme/new-nonce' [Mon Apr 1 05:46:46 UTC 2019] _CURL='curl -L --silent --dump-header /acme.sh/http.header --trace-ascii /tmp/tmp.8RPNGcb1TJ -g ' [Mon Apr 1 05:46:46 UTC 2019] _ret='0' [Mon Apr 1 05:46:46 UTC 2019] POST [Mon Apr 1 05:46:46 UTC 2019] _post_url='https://acme-v02.api.letsencrypt.org/acme/new-order' [Mon Apr 1 05:46:46 UTC 2019] _CURL='curl -L --silent --dump-header /acme.sh/http.header --trace-ascii /tmp/tmp.8RPNGcb1TJ -g ' [Mon Apr 1 05:46:46 UTC 2019] _ret='0' [Mon Apr 1 05:46:46 UTC 2019] code='201' [Mon Apr 1 05:46:46 UTC 2019] Le_OrderFinalize='https://acme-v02.api.letsencrypt.org/acme/finalize/51262893/380008791' [Mon Apr 1 05:46:46 UTC 2019] url='https://acme-v02.api.letsencrypt.org/acme/authz/dYNnAhRUgYhfTBXADtq9mBs5FEfGySpoMYcR9TciCLI' [Mon Apr 1 05:46:46 UTC 2019] payload [Mon Apr 1 05:46:46 UTC 2019] POST [Mon Apr 1 05:46:46 UTC 2019] _post_url='https://acme-v02.api.letsencrypt.org/acme/authz/dYNnAhRUgYhfTBXADtq9mBs5FEfGySpoMYcR9TciCLI' [Mon Apr 1 05:46:46 UTC 2019] _CURL='curl -L --silent --dump-header /acme.sh/http.header --trace-ascii /tmp/tmp.8RPNGcb1TJ -g ' [Mon Apr 1 05:46:46 UTC 2019] _ret='0' [Mon Apr 1 05:46:46 UTC 2019] code='200' [Mon Apr 1 05:46:46 UTC 2019] d='*.example.com' [Mon Apr 1 05:46:46 UTC 2019] Getting webroot for domain='*.example.com' [Mon Apr 1 05:46:46 UTC 2019] _w='dns_namecom' [Mon Apr 1 05:46:46 UTC 2019] _currentRoot='dns_namecom' [Mon Apr 1 05:46:46 UTC 2019] entry='"type":"dns-01","status":"pending","url":"https://acme-v02.api.letsencrypt.org/acme/challenge/dYNnAhRUgYhfTBXADtq9mBs5FEfGySpoMYcR9TciCLI [Mon Apr 1 05:46:46 UTC 2019] token='XN9fdCVpoSHPGwPNv0oj8kFJZ9CN22F1nxbeuTiL7wo' [Mon Apr 1 05:46:46 UTC 2019] uri='https://acme-v02.api.letsencrypt.org/acme/challenge/dYNnAhRUgYhfTBXADtq9mBs5FEfGySpoMYcR9TciCLI/14263876657' [Mon Apr 1 05:46:46 UTC 2019] keyauthorization='XN9fdCVpoSHPGwPNv0oj8kFJZ9CN22F1nxbeuTiL7wo.r7tZcnvRfPrdcF_wJwfUavue_0RNkjBL6wRJvWeoq_c' [Mon Apr 1 05:46:46 UTC 2019] dvlist='*.example.com#XN9fdCVpoSHPGwPNv0oj8kFJZ9CN22F1nxbeuTiL7wo.r7tZcnvRfPrdcF_wJwfUavue_0RNkjBL6wRJvWeoq_c#https://acme-v02.api.letsencrypt.or [Mon Apr 1 05:46:46 UTC 2019] d [Mon Apr 1 05:46:46 UTC 2019] vlist='*.example.com#XN9fdCVpoSHPGwPNv0oj8kFJZ9CN22F1nxbeuTiL7wo.r7tZcnvRfPrdcF_wJwfUavue_0RNkjBL6wRJvWeoq_c#https://acme-v02.api.letsencrypt.org [Mon Apr 1 05:46:46 UTC 2019] d='*.example.com' [Mon Apr 1 05:46:46 UTC 2019] _d_alias [Mon Apr 1 05:46:46 UTC 2019] txtdomain='_acme-challenge.example.com' [Mon Apr 1 05:46:46 UTC 2019] txt='2sYv4ZO-S9dog7csHkubBgW8a8a83sNLkfaLBDpQ9sA' [Mon Apr 1 05:46:46 UTC 2019] d_api='/root/.acme.sh/dnsapi/dns_namecom.sh' [Mon Apr 1 05:46:46 UTC 2019] Found domain api file: /root/.acme.sh/dnsapi/dns_namecom.sh [Mon Apr 1 05:46:46 UTC 2019] GET [Mon Apr 1 05:46:46 UTC 2019] url='https://api.name.com/v4/hello' [Mon Apr 1 05:46:46 UTC 2019] timeout= [Mon Apr 1 05:46:46 UTC 2019] _CURL='curl -L --silent --dump-header /acme.sh/http.header --trace-ascii /tmp/tmp.8RPNGcb1TJ -g ' [Mon Apr 1 05:46:46 UTC 2019] ret='0' [Mon Apr 1 05:46:46 UTC 2019] Logging in failed. [Mon Apr 1 05:46:46 UTC 2019] Error add txt for domain:_acme-challenge.example.com [Mon Apr 1 05:46:46 UTC 2019] _on_issue_err [Mon Apr 1 05:46:46 UTC 2019] Please check log file for more details: /acme.sh/acme.sh.log [Mon Apr 1 05:46:46 UTC 2019] url='https://acme-v02.api.letsencrypt.org/acme/challenge/dYNnAhRUgYhfTBXADtq9mBs5FEfGySpoMYcR9TciCLI/14263876657' [Mon Apr 1 05:46:46 UTC 2019] payload='{"keyAuthorization": "XN9fdCVpoSHPGwPNv0oj8kFJZ9CN22F1nxbeuTiL7wo.r7tZcnvRfPrdcF_wJwfUavue_0RNkjBL6wRJvWeoq_c"}' [Mon Apr 1 05:46:46 UTC 2019] POST [Mon Apr 1 05:46:46 UTC 2019] _post_url='https://acme-v02.api.letsencrypt.org/acme/challenge/dYNnAhRUgYhfTBXADtq9mBs5FEfGySpoMYcR9TciCLI/14263876657' [Mon Apr 1 05:46:46 UTC 2019] _CURL='curl -L --silent --dump-header /acme.sh/http.header --trace-ascii /tmp/tmp.8RPNGcb1TJ -g ' [Mon Apr 1 05:46:46 UTC 2019] _ret='0' [Mon Apr 1 05:46:46 UTC 2019] code='200' [Mon Apr 1 05:46:46 UTC 2019] Diagnosis versions: openssl:openssl OpenSSL 1.0.2q 20 Nov 2018 apache: apache doesn't exists. nginx: nginx doesn't exists. socat: socat by Gerhard Rieger and contributors - see www.dest-unreach.org Usage: socat [options]