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 →
- Use certbot or lego with a DNS plugin for Route 53:
certbot certonly --dns-route53 -d '*.example.com' -d example.com - Give the runner a narrowly scoped IAM role allowing
route53:ChangeResourceRecordSetson that zone - The tool creates
_acme-challengeTXT, Let's Encrypt validates it, and the record is deleted - Renew automatically with
certbot renewon 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.
More on DNS & Service Discovery
A customer types www.example.com in a browser. Walk through how DNS resolves it.BeginnerWhat is the difference between an A record and a CNAME, and when do you use each?BeginnerWhy can't you put a CNAME at the zone apex, and what do you use instead?BeginnerYou are moving a site to a new server. What do you do with DNS to make the cutover smooth?BeginnerHow do you find which nameservers are authoritative for a domain and query them directly?BeginnerWhat DNS records do you set up for company email?Beginner