1. Caddy version (caddy version
):
v2.2.0 h1:sMUFqTbVIRlmA8NkFnNt9l7s0e+0gw+7GPIrhty905A=
2. How I run Caddy:
a. System environment:
Ubuntu 18.04.4
d. My complete Caddyfile or JSON config:
*.note2.website {
tls {
dns lego_deprecated namecheap
}
root * /usr/share/caddy
file_server
}
3. The problem I’m having:
TXT record _acme-challenge is created by caddy, but still got the errors below
4. Error messages and/or full log output:
2020/10/04 12:12:39.422 INFO tls.issuance.acme waiting on internal rate limiter {"identifiers": ["*.note2.website"]}
2020/10/04 12:12:39.422 INFO tls.issuance.acme done waiting on internal rate limiter {"identifiers": ["*.note2.website"]}
2020/10/04 12:12:39.421 INFO autosaved config {"file": "/root/.config/caddy/autosave.json"}
2020/10/04 12:12:39.424 INFO serving initial configuration
Successfully started Caddy (pid=31750) - Caddy is running in the background
root@caddy-ubuntu-s-1vcpu-1gb-sfo2-01:/etc/caddy# 2020/10/04 12:12:39.420 INFO tls cleaned up storage units
2020/10/04 12:12:39.712 INFO tls.issuance.acme.acme_client trying to solve challenge {"identifier": "*.note2.website", "challenge_type": "dns-01", "ca": "https://acme-v02.api.letsencrypt.org/directory"}
2020/10/04 12:12:46.478 ERROR tls.issuance.acme.acme_client challenge failed {"identifier": "*.note2.website", "challenge_type": "dns-01", "status_code": 400, "problem_type": "urn:ietf:params:acme:error:dns", "error": "DNS problem: NXDOMAIN looking up TXT for _acme-challenge.note2.website - check that a DNS record exists for this domain"}
2020/10/04 12:12:46.479 ERROR tls.issuance.acme.acme_client validating authorization {"identifier": "*.note2.website", "error": "authorization failed: HTTP 400 urn:ietf:params:acme:error:dns - DNS problem: NXDOMAIN looking up TXT for _acme-challenge.note2.website - check that a DNS record exists for this domain", "order": "https://acme-v02.api.letsencrypt.org/acme/order/98362545/5516541424", "attempt": 1, "max_attempts": 3}
2020/10/04 12:12:47.614 ERROR tls.obtain will retry {"error": "[*.note2.website] Obtain: [*.note2.website] solving challenges: *.note2.website: no solvers available for remaining challenges (configured=[dns-01] offered=[dns-01] remaining=[]) (order=https://acme-v02.api.letsencrypt.org/acme/order/98362545/5516542499) (ca=https://acme-v02.api.letsencrypt.org/directory)", "attempt": 1, "retrying_in": 60, "elapsed": 8.192466401, "max_duration": 2592000}
Can anyone help me with this?