I am giving this plugin a try, but I think something is wrong. The name of TXT record is supposed to be "_acme-challenge.the.domain.com" but the name of record is only "_acme-challenge" therefore failing the DNS validation. I am trying to create a cert for my primary domain and a wildcard at the same time.
Update #1: Actually I am not sure the above is the problem. The error I am getting suggests the TXT record has the wrong token in it....Here is verbose debug:
Update #2: Ok, so if I try to grab the certs one at a time that works! The problem however is I want to SSL the primary domain (mydomain.com) AND the wildcard for subdomains. I guess the TXT record is getting replaced before validation for the first domain is done thus it is an "incorrect TXT record."
I am giving this plugin a try, but I think something is wrong. The name of TXT record is supposed to be "_acme-challenge.the.domain.com" but the name of record is only "_acme-challenge" therefore failing the DNS validation. I am trying to create a cert for my primary domain and a wildcard at the same time.
sudo certbot certonly --authenticator certbot-dns-powerdns:dns-powerdns --certbot-dns-powerdns:dns-powerdns-credentials /etc/letsencrypt/pdns-credentials.ini -d mydomain.com -d "*.mydomain.com" --dry-run
Update #1: Actually I am not sure the above is the problem. The error I am getting suggests the TXT record has the wrong token in it....Here is verbose debug:
Update #2: Ok, so if I try to grab the certs one at a time that works! The problem however is I want to SSL the primary domain (mydomain.com) AND the wildcard for subdomains. I guess the TXT record is getting replaced before validation for the first domain is done thus it is an "incorrect TXT record."