Consider the following DNS setup of example.com
:
A 89.41.169.49 # this is for redirect.pizza
CAA 0 issue "letsencrypt.org"
www CNAME ghs.googlehosted.com
If I have understood correctly everything I read (in particular, https://serverfault.com/q/885952/), the CAA for www.example.com
is taken from the one for ghs.googlehosted.com
. However, ghs.googlehosted.com
does not have a CAA record, and Google does not use Let's Encrypt.
Edit: I just noticed that that while ghs.googlehosted.com
does not have a CAA, googlehosted.com
does have one.
- So, will the one from
googlehosted.com
be used forwww.example.com
?
I believe, no:
If a domain name is a CNAME (also known as an alias) for another domain, then the certificate authority looks for the CAA record set at the CNAME target (just like any other DNS lookup). If no CAA record set is found, the certificate authority continues searching parent domains of the original domain name.
This is also in line with SSL Labs displaying the CAA for example.com
for www.example.com
.
So assume "no" in the following.
- So will the one from
example.com
be used forwww.example.com
?
(I suspect yes, see the quote above.)
- Is this a problem?
(I guess yes.)
If so, let's go one step further: assume ghs.googlehosted.com
does use a CAA record at one point, and all is fine. When the admins of ghs.googlehosted.com
delete their CAA entry at one point, thinking that this will relax requirements - will this effectively make the requirements stricter, as now the one from example.com
is used?