certmagic: [Gandi] Wrong DNS TXT record causes unable to get certificate
What version of the package are you using?
CADDY_VERSION=v2.2.0 xcaddy build --with github.com/caddy-dns/gandi
What are you trying to do?
Use Caddy as usual, with HTTPS solves with dns-01 challenge
What steps did you take?
cloud.skynewz.dev, *.cloud.skynewz.dev
tls contact@skynewz.dev {
dns gandi {env.GANDI_API_TOKEN}
}
respond "Hello, world!"
What did you expect to happen, and what actually happened instead?
Caddy can get my certificate and alright ! Instead, something creates a TXT record that Caddy cannot solve and Caddy never start, lopping on resolving the challenge
Please link to any related issues, pull requests, and/or discussion
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 29 (1 by maintainers)
Okay I managed to reproduce the issue on Go 1.15.1 with the Gandi plugin and Caddy v2.2.0 compiled with xcaddy with the following caddyfile
The record is correctly created in the zone and seems to comply with the RFC
It appears certmagic is timeouting when trying to get the record.
I will try to investigate further when I get some time.
I’ve released a fix, you can try again now.
https://github.com/caddy-dns/gandi/releases/tag/v1.0.1 https://github.com/libdns/gandi/releases/tag/v1.0.2