k8wiz
cert-manager
Medium
Concepts

A Certificate lists *.example.com and example.com. What do its two DNS-01 Challenges show as spec.dnsName?

Select your answer:

Show answer and explanation

Answer: example.com for both, with spec.wildcard true on one

Explanation

The Challenge API says that for a wildcard identifier, dnsName must be the non-wildcard domain, and the wildcard field is set to true instead. Both challenges are validated with a TXT record at _acme-challenge.example.com, which is also why cert-manager's scheduler runs them one after the other.

Read more about cert-manager