We are trying to generate a certificate for bewoners.wooncollege.nl
System: Centos 6.9 with Directadmin 1.52.1
The domain owner has added a A and a AAAA record, pointing to our server. When trying to generate a Let’s Encrypt certificate with the Directadmin GUI we run into a ‘DNS problem: SERVFAIL looking up CAA for bewoners.wooncollege.nl.’
The Unbound debug log is a little it above our heads as DNSSEC noobs, so maybe someone can give us a clue where it goes wrong and what we could do to solve the problem.
debug: NODATA response failed to prove NODATA status with NSEC/NSEC3
info: validate(nodata): sec_status_bogus
I’m not sure what exactly the issue is, but as a general rule, an issue like this is usually either that you need to upgrade PowerDNS to 4.0.4 or newer, or that you need to run “pdnsutil rectify-zone wooncollege.nl”.
Edit: I forgot to add, the PowerDNS <= 4.0.3 bug is mentioned in Let’s Encrypt’s CAA documentation:
As for rectifying the zone, this is hand-wavy, but sometimes zone changes can get the NSEC3 records out of sorts, and that needs to be done to fix them.
Yeah. The RRSIGs are valid for 3 weeks, midnight Thursday to Thursday, which is PowerDNS's default signing configuration. It was almost definitely used to sign the zone, though other software could be serving it.
It's something one of the DNS provider's sysadmins would have to do, probably. Doubtful they expose it in the control panel.
Any idea which version of PowerDNS they are using? If it is > 4.0.0 We could ask the domain owner if he is able to add a CAA record. Like it is suggested here:
I’m not sure, but I checked other domains using the same nameservers, and they respond in a valid manner to CAA queries (and other negative queries)… I think that means it’s at least 4.0.0, or a different implementation. If I remember correctly, earlier versions of PowerDNS couldn’t handle CAA queries at all.
The domain owner reported back to me that he had only control over these records: A, AAAA, CNAME, MX, PTR, SRV & TXT. Hence no CAA.
It looks like yourhosting.nl has tweaked their DNS a little bit. They offer ‘free SSL’ for the main domain, which is possible because wooncollege.nl does not SERVFAIL. They explicitely do not offer free SSL for subdomains. In stead they are directing their customers to a paid option, with a price of no less than Euro 75 per year for a single non-wildcard subdomain.
A paid certificate is probably our only way to go now, given that bewoners.wooncollege.nl SERVFAILs on the CAA record. But we definitely will not pay Euro 75 each year for a single non-wildcard SSL certificate.
Thanks for everybody’s input, especially @mnordhoff This thread ends in a very disappointing ‘solution’: no Let’s Encrypt but a paid certificate.