# What a wildcard SSL certificate is

A plain explanation of the wildcard SSL certificate: the asterisk it uses, which subdomains it secures, how it differs from a SAN certificate, and what drives its cost.

A wildcard SSL certificate is a TLS certificate that secures one domain name and all of its subdomains at the same level. The certificate carries an asterisk in place of the leftmost label, so one certificate can cover both the base domain and names that sit directly beneath it. It is a convenience for a site with many subdomains, not a different kind of encryption. 

- A wildcard certificate matches one label in place of the asterisk, not several levels of subdomains.
- The same encryption protects traffic either way, because a wildcard certificate is still a TLS certificate.
- A SAN certificate lists each name explicitly and covers names a wildcard cannot match.
- Cost depends on the validation level, the certificate authority, the term length and reseller markup.
 

## What the asterisk in the name means 

The asterisk in a wildcard certificate stands in for a single label on the left of the domain. A certificate issued for a name written as star dot example dot com matches the base domain and any one subdomain such as shop or blog. The star does not match a name with a different structure. 

Matching rules follow the certificate name, and the star covers only the leftmost position. A name with two labels in front, such as help desk, needs a separate entry or a different certificate. The base domain is included in the same certificate when the issuing request lists it. 

A wildcard SSL certificate is a way to organize coverage, and the certificate itself still holds a public key and a signature. Browsers treat it like any other certificate when they check the name on the server. The star changes which names validate, and the TLS handshake works the same way. 

## How TLS uses the certificate 

TLS is the protocol that encrypts traffic between a browser and a server, and the certificate proves the server's identity. The browser checks that the name it requested appears in the certificate and that a trusted authority signed it. A wildcard entry satisfies that check for the names it matches. 

The certificate does not encrypt anything by itself, and the key pair behind it does that work. The server presents the certificate during the handshake, and the client verifies the chain up to a trusted root. A valid wildcard certificate removes a browser warning for every subdomain it covers. 

Renewal and revocation apply to the whole certificate, so every subdomain shares one expiration date. A single renewal updates the name coverage for all matched hosts. An administrator who manages many subdomains plans for that shared schedule. 

## Where a wildcard certificate fits well 

A wildcard certificate suits a site that runs many subdomains under one parent name. Examples include a store, a support portal and a documentation site that each sit on their own label. One certificate then serves the whole group instead of a separate request for each host. 

The wildcard also simplifies adding a new subdomain later, because the new name falls under the existing certificate. An administrator avoids a fresh issuance step for each new label. The saving in paperwork grows with the number of hosts. 

The same certificate serves staging and internal hosts when those names sit one level below the parent. A team that spins up a host for a short test can reuse the certificate. The certificate must still be deployed to each server that presents it. 

## Where a wildcard certificate falls short 

A wildcard certificate does not reach names that sit two or more levels below the parent. A host such as api dot dev dot example dot com needs its own entry because the star matches only one label. Multi-level coverage requires a certificate that lists each name or a matching wildcard for each level. 

Sharing one certificate across many teams also concentrates risk, because a leaked private key affects every matched host. The key sits on each server that presents the certificate, so every one of those servers becomes a place where the key can be exposed. Limiting where the key is stored reduces that exposure. 

A large organization may prefer separate certificates so that one team's incident does not touch another team's host. The choice rests on how the teams operate and how tightly the key is controlled. A trained administrator makes that call after reviewing the setup. 

## Wildcard certificate against a SAN certificate 

A SAN certificate lists each name explicitly, and the list is called the subject alternative name field. A wildcard certificate names one pattern with a star and covers the names that pattern matches. Both arrive as one certificate file, and both use the same TLS handshake. 

A SAN certificate handles names that a wildcard cannot match, including different domains and deeper levels. A wildcard certificate keeps the request short when a large group shares one parent. The right pick follows from the actual list of host names. 

Many certificates combine the two approaches by listing a wildcard entry beside a few specific names. That mixed request covers the broad group and the exceptions in one file. An administrator checks the name list against the real hosts before ordering. 

## What drives the cost 

The price of a wildcard SSL certificate depends on the validation level, the certificate authority and the term length. Domain validation checks only control of the name, while organization validation adds a review of the business. Extended validation adds a deeper review and carries a higher price. 

A reseller may add markup on top of the authority's own price, and renewal terms can change the total. A longer term spreads the cost but commits the buyer for that period. The buyer should compare the full term price rather than a headline figure. 

A free option exists through some nonprofit authorities that issue domain-validated certificates. Those certificates carry shorter terms and need automated renewal to stay valid. A paid wildcard certificate adds support and validation options that a free one may not include. 
| Factor | Effect on price | 
| Validation level | Domain validation costs less than organization or extended validation | 
| Term length | A longer term sets the commitment and the total paid | 
| Certificate authority | Each authority sets its own list price | 
| Reseller markup | A reseller adds its own margin | 
| Support options | Added support raises the price |  

## Mistakes to avoid when deploying one 

A wildcard certificate must be installed on every server that presents it for a matched host. Copying the file and key to many machines widens the risk to the private key. An administrator tracks each location where the key is stored. 

The certificate's name must match the host names that clients request, and a missing entry causes a name mismatch warning. Testing each subdomain after installation catches that error early. The test should include the base domain and each subdomain in use. 

Automated renewal keeps the shared expiration date from becoming an outage for every matched host. A calendar reminder alone fails when staff change, so a monitored renewal job works better. The job needs the same key handling care as the first installation. 

## Wildcard SSL certificate questions 

### What is a wildcard SSL certificate? 

A wildcard SSL certificate is a TLS certificate that covers one domain and all subdomains at a single level below it. The asterisk in the name stands for one label, so the certificate matches many hosts with one file. It encrypts traffic and proves server identity just like any other certificate. 

### How much does a wildcard SSL certificate cost? 

The cost of a wildcard SSL certificate depends on the validation level, the certificate authority, the term length and any reseller markup. Domain validation sits at the low end, and organization or extended validation adds a review that raises the price. A free domain-validated option exists through some nonprofit authorities with shorter terms. 

### Does a wildcard certificate cover every subdomain? 

A wildcard certificate covers only the subdomains that match a single label in place of the star. Names with two or more labels in front need their own entries on the certificate. The base domain is included when the request lists it. 

### Is a wildcard certificate the same as a SAN certificate? 

No, a wildcard certificate covers names by pattern while a SAN certificate lists each name explicitly. A SAN certificate can hold unrelated domains and deeper levels that a wildcard cannot match. One certificate can combine a wildcard entry with several specific names. 

### Can one wildcard certificate serve several servers? 

Yes, one wildcard certificate can be installed on several servers that present it for matched hosts. Each server then holds a copy of the private key, which widens the exposure if any one copy leaks. An administrator limits the copies and tracks where the key is stored.
