Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect TXT Value #3

Closed
williamcolbert opened this issue Oct 6, 2020 · 2 comments · Fixed by #9
Closed

Incorrect TXT Value #3

williamcolbert opened this issue Oct 6, 2020 · 2 comments · Fixed by #9

Comments

@williamcolbert
Copy link

Hello,

I was trying to use this to get a wildcard certification, and it kept failing on me. When I dug deeper I noticed it was because the host value on the TXT record in digital ocean was incorrect it had duplicated the domain part. I just duplicated the record without the double host and it got the certification just fine. If someone can point me in the right direction I can create a pull request for the fix.

DNS Record that was added by the plugin:

Record Type: TXT	
Host: _acme-challenge.domain.com.domain.com
Value: [Removed]
TTL: 1800

Config

domain.com {
    root * /var/www/public
    php_fastcgi 127.0.0.1:9000

    encode gzip
    file_server
    tls {
        dns digitalocean [API Token]
    }
}
@williamcolbert
Copy link
Author

williamcolbert commented Oct 7, 2020

Looks like tied to this issue here.
libdns/digitalocean#3

@IronSinew
Copy link

Can confirm. Ran into this today as well, even without a wildcard attempt. I had to remove the digitalocean resolver reference from my caddyfile to get a cert to generate, which is leaving me without a wildcard at the moment. The txt hostnames present in the dns records are akin to: _acme-challenge.domain.tld.domain.tld -- which is obviously incorrect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants