Black Friday: 60% off yearly plans with code BF2026, until November 30. See the deal

Learn

Wildcard vs multi-domain (SAN) SSL certificates

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.

The short answer
  • Wildcard: *.example.com matches shop.example.com, not example.com and not a.shop.example.com.
  • Multi-domain: one certificate lists many exact names, across different domains if you need.
  • A wildcard key on many servers widens the damage if that one private key leaks.
Try the ssl certificate checkerFree, live, no signup

How do wildcard and multi-domain certificates compare?

Wildcard vs SAN
WildcardMulti-domain (SAN)
CoversOne label under one domain (*.example.com)An explicit list of names, possibly on different domains
New subdomainsCovered automaticallyNeed a reissue to add the name
Bare domainNot covered; add example.com as a second nameCovered if listed
Deeper levelsa.shop.example.com not coveredCovered only if listed
Let's Encrypt issuanceRequires the DNS-01 challengeAny supported challenge
Main riskOne private key can impersonate every subdomainName 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.

When should you choose each?

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

Choose a wildcard when

You run many subdomains of one domain and add them often, and you can protect the private key well.

  • Customer subdomains on a SaaS
  • Frequent staging and preview hosts

Choose multi-domain when

You have a known set of hostnames, or names across different domains such as example.com and example.net.

  • A fixed list of sites on one server
  • Apex plus www plus a few services

How do you get a wildcard from Let's Encrypt?

  1. 01

    Pick the names

    Request *.example.com and example.com on the same certificate so the bare domain is covered.

  2. 02

    Prove control by DNS

    Wildcards require the DNS-01 challenge: you publish a TXT record at _acme-challenge.example.com.

  3. 03

    Automate the DNS update

    Use a client with a DNS provider plugin so renewals can add the TXT record unattended.

  4. 04

    Deploy and monitor

    Install on every server that needs it, and watch expiry, since one forgotten copy breaks one host.

Wildcards reduce the number of certificates, not the risk

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.

What should you review before buying or issuing a wildcard?

  • Which subdomains need coverage, and whether any sit two levels deep
  • Whether the bare domain is also on the certificate
  • Where the private key will be stored and which servers will hold a copy
  • Whether your DNS provider supports automated TXT record updates for DNS-01
  • Whether sensitive services should keep their own certificate
  • How renewal will be monitored on every server that holds the wildcard

Common questions

What is a wildcard SSL certificate?

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.

Does a wildcard certificate cover the root domain?

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.

Does *.example.com cover sub.sub.example.com?

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.

What is a multi-domain (SAN) 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.

Watch your domains automatically

Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.