Wildcard SSL with Certbot: Certificate for All Subdomains

VDS / VPS Servers · 25.02.2026
Wildcard SSL with Certbot: Certificate for All Subdomains

Certbot + Cloudflare

sudo certbot certonly --dns-cloudflare   --dns-cloudflare-credentials /etc/letsencrypt/cloudflare.ini   -d "*.yourdomain.com" -d "yourdomain.com"

Auto-renewal

0 3 * * * certbot renew --quiet --post-hook "systemctl reload nginx"
← Back to Knowledge Base Ask Support