A wildcard certificate is a certificate for a name such as *.example.com, valid for any single label at that position, so it does not cover the apex domain itself or deeper subdomains. It is convenient, but the same key is deployed on many servers, so one compromised host exposes every service covered. Per-service certificates are preferable once issuance is automated.
What wildcard certificates actually do
A wildcard certificate is a certificate for a name such as *.example.com, valid for any single label at that position, so it does not cover the apex domain itself or deeper subdomains. It is convenient, but the same key is deployed on many servers, so one compromised host exposes every service covered. Per-service certificates are preferable once issuance is automated.
That broad match is the whole appeal: one certificate can simplify deployment across many subdomains without issuing and tracking a separate certificate for each hostname. The trade-off is that the certificate is no longer a narrow trust object, because its private key becomes shared infrastructure rather than a host-specific secret.
Where wildcard coverage stops
Wildcard matching is limited to one label. A certificate for *.example.com can be used for app.example.com or mail.example.com, but not for example.com itself and not for deeper names such as api.dev.example.com. That boundary matters because teams sometimes assume a wildcard is a catch-all for an entire DNS zone, which it is not.
This limitation is one reason wildcard certificates are best understood as a naming convenience, not as a substitute for sound certificate design. If an organisation needs the apex domain, multiple subdomain levels, or distinct trust boundaries, the certificate strategy has to reflect that explicitly rather than relying on a wildcard to stretch beyond its scope.
Why wildcard certificates increase blast radius
The main security consequence is concentration of trust. If the private key is copied onto many servers, any one compromised host can reveal the key and let an attacker impersonate every service covered by that certificate. The issue is not the wildcard syntax itself, but the operational pattern it encourages when one secret is reused widely.
That creates a larger blast radius than per-service certificates because compromise, accidental exposure, or weak host hardening on one system can cascade across the whole set of covered subdomains. For that reason, wildcard certificates are usually a compromise between operational convenience and attack surface reduction, not the strongest security design.
How wildcard certificates fit into modern certificate management
Wildcard certificates make the most sense where issuance, renewal, and deployment are automated and the organisation can still protect the private key carefully. The better the automation, the less pressure there is to reuse one certificate everywhere just to save administrative effort. This is why modern certificate programmes often prefer scoped certificates with short lifetimes over broad, long-lived shared keys.
Good certificate practice also includes inventory, renewal visibility, key protection, and clear ownership for where each certificate is installed. In other words, the wildcard decision sits inside a wider certificate lifecycle problem, not just a DNS naming pattern. If the operational model cannot support that lifecycle, the convenience of a wildcard often becomes a maintenance risk.
Risk and Threat Considerations
Wildcard certificates concentrate trust, so one leaked private key can expose multiple services at once. That widens the impact of host compromise, backup exposure, CI/CD misuse, or sloppy certificate deployment because the same credential can authenticate many endpoints.
Failure mechanism: An attacker obtains the private key from one server, a deployment artifact, or a poorly protected repository, then reuses it to impersonate any covered subdomain or intercept traffic that clients still trust.
Impact: Service impersonation, traffic decryption in some deployment models, session theft, and broader lateral movement across the affected web properties become possible until the certificate is replaced and trust is re-established.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
NIST SP 800-57 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST SP 800-57 | 1 — Key Management | Defines key lifecycle and cryptoperiod practices for certificate private keys. |
| Recommendation — Apply NIST SP 800-57 guidance to limit key sharing, rotation scope, and exposure time for certificate keys. | ||
| NIST SP 800-53 Rev 5 | IA-5 — Authenticator Management | Covers lifecycle protection and rotation of authenticators and related secret material. |
| AC-6 — Least Privilege | Supports restricting where a shared certificate key can be installed and used. | |
| Recommendation — Use IA-5 to manage certificate-related secrets and rotate them after suspected compromise. Enforce least privilege on certificate deployment paths and limit which systems can access the private key. | ||
Practitioner Guidance
Why practitioners should care: Use wildcard certificates only when the operational simplicity is worth the enlarged blast radius. If you already have automated issuance, renewal, and deployment, per-service certificates usually give better containment and clearer ownership. Where wildcards remain necessary, treat the private key as high-value shared infrastructure and keep the deployment footprint as small as possible.
Practitioner takeaway: The security question is not whether a wildcard is valid, but whether its convenience justifies spreading one private key across many services.
Related resources from NHI Mgmt Group
- Guide: Machine Identity, PKI and Certificate Lifecycle Guide
- Why do wildcard certificates reduce operational overhead without removing the need for certificate governance?
- Should organisations use wildcard or multi-year certificates as part of certificate lifecycle management?
- What happens when a SAN or wildcard certificate is requested with the wrong domain format?
- What happens when an expired wildcard certificate is deployed across many backend services?
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on November 24, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org