
How to Setup Auto-Renew for Letsencrypt WILDCARD Certificate with DNS challenge? acme-dns | certbot
Source: YouTube · Anton Putra · published Aug 19, 2021 · 19:10
This video demonstrates how to automate obtaining and renewing Let's Encrypt wildcard certificates using DNS-01 challenge with an acme-dns server 0:00.
Key Takeaways:
• Let's Encrypt wildcard certificates require DNS-01 challenge and need renewal every 90 days, making automation essential 0:23.
• Setting up requires a static IP address (shown in AWS) to ensure DNS verification works consistently during renewal 1:11.
• The solution involves installing an acme-dns server on an Ubuntu instance alongside your web server 6:05.
• Critical configuration includes binding the DNS server to the private IP associated with the public IP and opening ports 53 (UDP/TCP), 80, and 443 8:24.
• The process requires creating DNS records with your provider (A, NS, and CNAME records) to direct verification requests to your acme-dns server 11:23.
• Automation is completed using certbot with acme-dns-client and setting up a cronjob to run renewal checks every 12 hours 18:30.
This automated solution eliminates manual renewal while maintaining security for wildcard certificates across all subdomains 17:44.
Sources:
- 0:00 Introduction to wildcard certificates requiring DNS-01 challenge
- 0:23 Certificate validity period and automation necessity
- 1:11 Setting up static public IP address
- 6:05 Installing acme-dns server
- [8:24](https://www.youtube.com/wa
Generate CPE Credits
Generate a professional CPE document from this video's transcript.
Estimated credit: 0.5 CPE hours
Estimate uses the video runtime (1 hour ≈ 1 CPE, rounded to the nearest 0.5, minimum 0.5, maximum 2.0). The final amount can be lower after review, never higher.
Topic: Cloud Security. Commonly maps to: Security Architecture and Engineering, Communication and Network Security. Exact CISSP domains are assigned during generation.
Free account. One generation at a time, with a daily limit.
CPEBuddy is independent and not affiliated with or endorsed by ISC2, ISACA, or any certification body. Exports are formatted for common CPE submissions; acceptance is at your certification body's discretion.
Transcript Preview
First 800 characters of the transcript
To get a wildcard certificate from letsencrypt,
you have only one option. You need to pass the DNS-01 challenge. When you send a certificate
request, letsencrypt will ask you to prove that you control the DNS for your domain name
by putting a specific value in a TXT record under that domain name. In the previous video,
I explained how to get it manually and then use obtained certificate from letsencrypt
in the Nginx server block. This video will focus on automation. Letsencrypt
certificates are only valid for 90 days; this requires you to renew them approximately
every 60 days. Automation is the only viable option here. The way we automate this, we will
delegate TXT DNS queries to our own DNS server. First, we will create a Ubuntu server. We can
use Nginx, Apache, or any other web…