What is a Wildcard SSL Certificate?

One certificate to secure a domain and all its subdomains.

A wildcard SSL certificate is a type of SSL/TLS certificate that secures a domain and an unlimited number of its first-level subdomains using a single certificate. Instead of buying a separate certificate for each subdomain, one wildcard certificate covers them all.

It is identified by an asterisk (*) in the common name: for example, a certificate for *.example.com would automatically secure:

However, a wildcard certificate does not cover the root domain itself (example.com) or second-level subdomains like dev.api.example.com unless a separate SAN entry or certificate is added.

Check whether a site uses a wildcard certificate β€” look for *. in the Subject field.

Check a Domain β†’

How Does a Wildcard Certificate Work?

When a browser connects to a subdomain secured by a wildcard certificate, it checks whether the certificate's Common Name (CN) or Subject Alternative Names (SANs) match the requested domain. For a wildcard certificate, the * matches any single label β€” meaning any direct subdomain.

The wildcard is validated during the TLS handshake: the server presents the certificate, the browser verifies it against the CA's root, and the connection is established encrypted if the domain matches.

Pros and Cons of Wildcard Certificates

βœ“ Advantages

  • One certificate covers all subdomains
  • Lower cost than multiple single-domain certs
  • Easier to manage β€” one renewal date
  • Instant coverage for new subdomains

βœ— Limitations

  • Does not cover the root domain by default
  • Does not cover second-level subdomains
  • If compromised, all subdomains are at risk
  • Not available as EV (Extended Validation)

Wildcard vs Multi-Domain (SAN) Certificates

A multi-domain certificate (also called a SAN certificate) explicitly lists every domain it covers β€” including different root domains (e.g. example.com, example.org, mysite.net). A wildcard certificate covers all subdomains of one root domain but cannot span multiple root domains.

For most websites with one domain and several subdomains, a wildcard certificate is the simplest and most cost-effective choice.

Free Wildcard Certificates with Let's Encrypt

Since 2018, Let's Encrypt issues free wildcard certificates via the DNS-01 challenge. This requires you to add a TXT record to your domain's DNS during each renewal β€” a step that can be automated with compatible DNS providers.

To get a free wildcard certificate with Certbot:

  1. Install Certbot with your DNS plugin (e.g. certbot-dns-cloudflare)
  2. Run: certbot certonly --dns-cloudflare -d "*.example.com" -d "example.com"
  3. Set up automatic renewal with a cron job

How to Check if a Site Uses a Wildcard Certificate

Use the SSL Check tool above: enter any subdomain and look for *. in the Subject or SANs fields of the results. A wildcard certificate will show something like *.example.com as the common name.

Ready to check your certificates?

Free SSL Checker β†’   Bulk Check β†’