Choose neither blindly when
Only one or two hostnames are needed. A single-name certificate is the smallest blast radius if its key leaks.
- A single app or marketing site
- High-risk admin or payment hosts
Monitor
Protect
Manage
By role
Security
Renewals
Monitoring
A wildcard certificate such as *.example.com covers every single-label subdomain of one domain, while a multi-domain (SAN) certificate lists specific names, which can belong to different domains. Both use the Subject Alternative Name field; a wildcard matches exactly one label and never the bare domain.
| Wildcard | Multi-domain (SAN) | |
|---|---|---|
| Covers | One label under one domain (*.example.com) | An explicit list of names, possibly on different domains |
| New subdomains | Covered automatically | Need a reissue to add the name |
| Bare domain | Not covered; add example.com as a second name | Covered if listed |
| Deeper levels | a.shop.example.com not covered | Covered only if listed |
| Let's Encrypt issuance | Requires the DNS-01 challenge | Any supported challenge |
| Main risk | One private key can impersonate every subdomain | Name list reveals the hostnames you host |
Matching rules from RFC 9525, section 6.3; DNS-01 requirement from the Let's Encrypt FAQ. The last row reflects general security reasoning rather than a quoted source.
Only one or two hostnames are needed. A single-name certificate is the smallest blast radius if its key leaks.
You run many subdomains of one domain and add them often, and you can protect the private key well.
You have a known set of hostnames, or names across different domains such as example.com and example.net.
Request *.example.com and example.com on the same certificate so the bare domain is covered.
Wildcards require the DNS-01 challenge: you publish a TXT record at _acme-challenge.example.com.
Use a client with a DNS provider plugin so renewals can add the TXT record unattended.
Install on every server that needs it, and watch expiry, since one forgotten copy breaks one host.
Every server holding a wildcard private key can present a valid certificate for any subdomain. Keep it on as few hosts as possible and prefer per-host certificates for sensitive services such as admin or payment subdomains.
A wildcard certificate has a name such as *.example.com, with an asterisk as the whole left-most label. It is valid for any single-label subdomain of example.com, so one certificate can secure www, shop, mail and every other name at that level.
No. A wildcard matches exactly one label, so *.example.com does not match example.com itself. Wildcard certificates are normally issued with both *.example.com and example.com listed as names.
No. RFC 9525 says a wildcard matches exactly one label, so a.shop.example.com is not covered by *.example.com. You would need *.shop.example.com or the exact name on the certificate.
It is one certificate with several names in the Subject Alternative Name extension, for example example.com, www.example.com and example.net. A Let's Encrypt certificate can contain several names this way, and the FAQ does not state a maximum.
Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.