Перейти к содержимому
Skip to content
← All articles

Wildcard SSL Certificates: When and How to Use Them

A wildcard SSL certificate secures a domain and all its single-level subdomains with a single certificate. Instead of buying separate certificates for www.example.com, api.example.com, and app.example.com, a wildcard cert for *.example.com covers them all.

How Wildcards Work

A wildcard certificate uses an asterisk (*) in the leftmost position of the domain name: *.example.com. This matches:

It does NOT match:

Wildcard vs Individual Certificates

AspectWildcardIndividual
CoverageAll subdomains (one level)Specific domains only
ManagementOne cert to manage/renewMultiple certs to track
CostOne purchasePer-domain cost
Security riskHigher — key compromise affects all subdomainsLower — isolated per domain
RevocationRevoking affects all subdomainsCan revoke individually
ValidationDV or OV only (no EV wildcards)DV, OV, or EV

When to Use Wildcards

When NOT to Use Wildcards

Security Considerations

Let's Encrypt Wildcards

Let's Encrypt issues free wildcard certificates since 2018, but with a requirement:

# Certbot with Cloudflare DNS
certbot certonly --dns-cloudflare \
  --dns-cloudflare-credentials /etc/letsencrypt/cloudflare.ini \
  -d example.com -d *.example.com

Configuration Tips

Conclusion

Wildcard certificates are a powerful tool for managing SSL across many subdomains. They simplify management but increase security risk through wider key distribution. Use them when you have dynamic or numerous subdomains, but always minimize private key exposure by terminating TLS at a single point where possible.

Check your website right now

Check now →
More articles: SSL/TLS
SSL/TLS
SSL/TLS Certificates: How HTTPS Works
10.03.2025 · 13 views
SSL/TLS
SSL Certificate Monitoring: Avoiding Downtime
14.03.2026 · 10 views
SSL/TLS
TLS Handshake Explained: Step-by-Step Guide to Secure Connections
16.03.2026 · 11 views
SSL/TLS
SSL Pinning: What It Is and When to Use It
16.03.2026 · 18 views