A Wildcard SSL certificate secures a root domain and all its first-level subdomains with a single certificate. The asterisk (*) acts as a placeholder in the Common Name field — for example, *.yourdomain.com — and matches any subdomain at that level.
This article covers exactly what a Wildcard covers, how it works under the hood, when it makes sense to use one, and how it stacks up against alternatives like multi-domain (SAN) certificates.
What Does the Asterisk Actually Cover?
The * wildcard replaces exactly one subdomain level. A certificate for *.example.com protects:
www.example.comblog.example.comstore.example.comapp.example.com- Any other subdomain you add in the future
However, it does not cover:
example.com(the root domain) — though most CAs include it as an additional SAN automatically.dev.app.example.com(two levels deep) — for that, you'd need a second-level Wildcard:*.app.example.com.
This distinction matters: if your architecture uses nested subdomains, a single Wildcard won't be enough.
How Does a Wildcard SSL Certificate Work?
A Wildcard is essentially a standard DV or OV certificate where the Common Name (CN) or Subject Alternative Name (SAN) field contains the *.domain.com notation.
When a browser connects to store.example.com, it compares the hostname against the presented certificate. Seeing *.example.com, it runs a pattern match: if the subdomain is exactly one level deep, the certificate is valid.
Installation is identical to any other SSL certificate — you upload the certificate file, private key, and intermediate chain to your server. The difference is that you can reuse that same set of files across every server or virtual host serving subdomains of that domain.
Key Advantages of Wildcard SSL Certificates
One certificate for all your subdomains
If you run www, blog, app, api, and dashboard, a Wildcard means one certificate to manage instead of five. Fewer expiry dates to track, fewer manual renewals, and less risk of letting one lapse and taking a subdomain offline.
New subdomains covered instantly
Launch support.example.com tomorrow and it's already protected — no new certificate request or installation needed.
Better cost-to-value ratio at scale
Buying individual certificates for each subdomain adds up fast. A commercial Wildcard runs $70–$200 USD/year but covers unlimited subdomains. Here's when the math works in its favor:
| Number of Subdomains | Cost with Individual DV (~$10/yr each) | Cost with Wildcard (~$100/yr) |
|---|---|---|
| 1–2 | $10–$20 | $100 (not worth it) |
| 5 | $50 | $100 (break-even) |
| 10+ | $100+ | $100 (clear advantage) |
| Unlimited | Unmanageable | $100 (only practical option) |
Note: Let's Encrypt issues free Wildcard certificates via the DNS-01 challenge, which changes the cost calculation entirely.
When a Wildcard Certificate Is NOT the Right Choice
Despite its advantages, there are scenarios where a Wildcard falls short:
- You need EV (Extended Validation): EV certificates are not available in Wildcard format. If you need the organization name displayed in the browser, you'll need individual per-domain certs.
- Subdomains on third-party servers: the Wildcard's private key must be installed everywhere it's used. If one of those servers belongs to an untrusted vendor, you're sharing a key that can compromise all your subdomains.
- Nested subdomains: if your architecture uses
client.app.example.com, you need a separate Wildcard for each depth level. - Just one or two subdomains: the cost of a commercial Wildcard isn't justified. A free Let's Encrypt cert with auto-renewal handles this perfectly.
Wildcard vs. Multi-Domain (SAN/UCC) Certificate
A Multi-SAN certificate (also called a UCC or multi-domain certificate) explicitly lists every domain or subdomain it protects. Here's how the two compare:
| Feature | Wildcard | Multi-SAN |
|---|---|---|
| New subdomains | Covered automatically | Requires reissuance |
| Multiple root domains | No (one base domain) | Yes (up to 100+ domains) |
| Nested subdomains | No | Yes (each listed explicitly) |
| EV validation | Not available | Yes |
| Private key exposure risk | Higher (shared key) | Lower (per-server key) |
For projects with many predictable subdomains under one root, the Wildcard wins on simplicity. For mixed domains or second-level subdomains, Multi-SAN is more flexible. The team at elenlace.com can review your architecture and recommend the right fit.
How to Get a Free Wildcard Certificate with Let's Encrypt
Since 2018, Let's Encrypt has issued free Wildcards using the DNS-01 challenge (rather than the standard HTTP-01). With Certbot:
- Run:
certbot certonly --manual --preferred-challenges dns -d "*.example.com" -d "example.com" - Certbot prompts you to create a TXT record in your DNS:
_acme-challenge.example.com - After verifying the record, Certbot issues and downloads your certificate.
- For automatic renewal, you need a DNS plugin that supports your DNS provider (Cloudflare, Route53, etc.).
Find more guides on HTTPS setup and SSL configuration in our SSL security blog section.
Key Takeaways
- A Wildcard SSL certificate (
*.domain.com) secures the root domain and all first-level subdomains with one certificate. - It does not cover nested subdomains (two or more levels deep) or completely separate domains.
- It makes the most sense when you have 5+ active subdomains or plan to add subdomains frequently.
- Let's Encrypt has issued free Wildcards since 2018 via the DNS-01 challenge.
- For EV validation or nested subdomains, a Multi-SAN certificate is the right alternative.
Not sure which SSL certificate your project needs? Reach out — at elenlace.com we analyze your setup and recommend the right certificate without the guesswork.
FAQ
Does a Wildcard certificate cover the bare root domain?
The asterisk itself only matches subdomains, not the root. However, most CAs automatically include the root domain as an additional SAN when issuing a Wildcard, so in practice it is covered. Always confirm this with your CA before purchasing.
Can I install the same Wildcard certificate on multiple servers?
Yes, technically — you deploy the same certificate and private key pair on each server. The trade-off is that a compromise on any one of those servers exposes all your subdomains. For high-security environments, per-server certificates are generally preferred.
Does Let's Encrypt Wildcard auto-renew?
Yes, but only if you automate the DNS-01 challenge — which requires a DNS plugin compatible with your DNS provider. Without that integration, renewal must be done manually every 90 days.
Can a Wildcard cover second-level subdomains like dev.app.example.com?
No. *.example.com only matches one level of depth. For dev.app.example.com, you would need a separate Wildcard scoped to that level (*.app.example.com), or a Multi-SAN certificate that explicitly lists that subdomain.
Useful resources
Other providers and guides worth comparing: