Is this a bug, or am I doing something wrong?
Caddy 0.11.0 non-commercial
systemd service file has Environment=GANDIV5_API_KEY=xxxxxxxxx
line.
Caddyfile reads:
thisheredomain.com {
tls {
dns gandiv5
}
}
test.thisheredomain.com {
tls {
dns gandiv5
wildcard
}
}
Caddy fails to start…
Nov 03 15:45:57 web caddy[2030]: Activating privacy features... 2018/11/03 21:45:57 [INFO][thisheredomain.com] acme: Obtaining bundled SAN certificate
Nov 03 15:45:57 web caddy[2030]: 2018/11/03 21:45:57 [INFO][thisheredomain.com] AuthURL: https://acme-staging-v02.api.letsencrypt.org/acme/authz/t3djr2SIN2aYoa8VUidvXLxJnKRf1EU5_GRMbweh0NQ
Nov 03 15:45:57 web caddy[2030]: 2018/11/03 21:45:57 [INFO][thisheredomain.com] acme: Could not find solver for: tls-alpn-01
Nov 03 15:45:57 web caddy[2030]: 2018/11/03 21:45:57 [INFO][thisheredomain.com] acme: Trying to solve DNS-01
Nov 03 15:45:58 web caddy[2030]: 2018/11/03 21:45:58 [thisheredomain.com] failed to get certificate: Error presenting token: Gandi DNS: request failed with HTTP status code 404
Nov 03 15:45:58 web systemd[1]: caddy.service: Main process exited, code=exited, status=1/FAILURE
Nov 03 15:45:58 web systemd[1]: caddy.service: Unit entered failed state.
Nov 03 15:45:58 web systemd[1]: caddy.service: Failed with result 'exit-code'.
Removing “wildcard” from Caddyfile makes it work just fine.
Am I doing something wrong, or is there a bug?