Interview Prep/Networking/DNS & Service Discovery

Your CI needs to obtain a wildcard TLS certificate from Let's Encrypt. How?

IntermediateScenarioDNS & Service Discovery
Answer

Situation read → Wildcards require the DNS-01 challenge.

What I'd do →

  1. Use certbot or lego with a DNS plugin for Route 53: certbot certonly --dns-route53 -d '*.example.com' -d example.com
  2. Give the runner a narrowly scoped IAM role allowing route53:ChangeResourceRecordSets on that zone
  3. The tool creates _acme-challenge TXT, Let's Encrypt validates it, and the record is deleted
  4. Renew automatically with certbot renew on a timer

Why → HTTP-01 cannot prove control of a wildcard; DNS-01 proves control of the whole zone.

Interview tip → Say you scope the IAM permission to the zone or delegate _acme-challenge via a CNAME to a dedicated zone.

All Networking questions Roadmap: Networking for DevOps

More on DNS & Service Discovery