Skip to content

Please return actual domain where TXT record was found when following CNAMEs #37

@defacto64

Description

@defacto64

@birgelee,

we understand that Open-MPIC follows CNAMEs, at least when doing DNS queries for TXT records.
This is fine, per se, but we have two concerns:

  1. The CABF TLS BRs specify that following CNAMEs is a "may", not a "MUST" (see the definition of Authorization Domain Name), so it would be better if the CA was able to decide whether or not doing so (e.g. by setting some input parameter to the dcv call); this is currently not possible, if we are not mistaken.

  2. If, following a CNAME, the expected TXT record is found on a parent domain of the input domain (domain_or_ip_target), then it would be good to know the actual domain where the TXT record was found, because this has some implications. For instance, let's assume that the value of "domain_or_ip_target" is www.somedomain.tld and that, on this domain, there is a CNAME pointing to somedomain.tld. Now, if the TXT record is found on somedomain.tld and the CA is aware of this, then the CA can legitimately insert both domains in the certificate (www.somedomain.tld, somedomain.tld). Otherwise, the CA cannot (must not), since, until proven otherwise, control of the "www" does not imply control of the apex domain. However, the dcv call does not currently returns the domain where the expected TXT record was found (which, because of following CNAMEs, may differ from the value of "domain_or_ip_target").

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions