Obtaining LetsEncrypt Wildcard Certificates using DNS-01
Security

Obtaining LetsEncrypt Wildcard Certificates using DNS-01

  • Author :Liam K.
  • Date :March 08, 2026
  • Time :11 minutes

When to use Wildcard Certificates

Wildcard certificates are useful when you need to secure multiple subdomains without creating individual certificates.

Using Certbot DNS Plugins

Certbot supports DNS plugins for many providers. Install the appropriate plugin and provide API credentials:

bash
# example for Cloudflare
sudo pip install certbot-dns-cloudflare
certbot certonly   --dns-cloudflare   --dns-cloudflare-credentials /root/.secrets/cloudflare.ini   -d "*.example.com" -d example.com

Technical Author

Technical Author - Liam K.
Liam K.

System administrator and technical writer specializing in server infrastructure, security and deployment. Creating comprehensive guides to help you master server administration.