Glossary / SSL/TLS

SAN SSL certificate

A SAN SSL certificate is a TLS certificate that lists several hostnames in its subject alternative name extension, so one certificate secures names like example.com, www.example.com and example.net together. Browsers check the requested hostname against that list. It is also called a multi-domain certificate.

Copy the syntax

Create a CSR with several names

openssl req -new -key example.key -out example.csr -subj "/CN=example.com" -addext "subjectAltName=DNS:example.com,DNS:www.example.com,DNS:example.net"

OpenSSL 1.1.1 or later. The CA validates each name.

List the names on a live certificate

openssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null | openssl x509 -noout -ext subjectAltName

Shows every DNS name the certificate covers.

Have a name in mind?

.com $24.99 first year, renews at $24.99/yr. Other endings: not on sale yet.

In plain English

A SAN certificate lists several names, so one certificate covers example.com, www.example.com and other domains together.

What to do

  • List every hostname the server answers for.
  • Reissue the certificate when you add a name.
  • Use a wildcard instead if you keep adding subdomains.
How a SAN certificate matches namesA browser visiting example.net checks the certificate's SAN list and finds a match.1 · Visitexample.netbrowser asks for it2 · CertificateSAN listexample.com, www, .net3 · Matchexample.net ✓name is listed
The browser accepts the certificate only if the hostname appears in its subject alternative name list.
Defined in
RFC 5280, section 4.2.1.6 (subjectAltName)Source: RFC 5280
Name matching
Browsers match the SAN list, RFC 6125Source: RFC 6125
Issuance rules
Each name validated per Baseline RequirementsSource: CA/Browser Forum
When should I use a SAN certificate?

Use one when a single server answers for several different names: a main domain and its country versions, or a mail server known by several hostnames. One certificate is simpler to install and renew than many.

Every name must pass validation, and adding a name later means reissuing the certificate.

SAN vs wildcard certificate: which fits?

A wildcard covers every first-level subdomain of one domain, such as anything.example.com. A SAN certificate covers an explicit list that can span unrelated domains. Some certificates combine both, listing a wildcard as one of the SAN entries.

SAN entry examples

Example names (RFC 2606).
SAN entryCoversDoes not cover
DNS:example.comexample.comwww.example.com
DNS:www.example.comwww.example.comshop.example.com
DNS:*.example.comshop.example.coma.b.example.com
DNS:example.netexample.netexample.org

Questions about SAN SSL certificate

Is the common name still used?

Browsers ignore the common name and check only the subject alternative names, as RFC 6125 recommends. Certificates still carry a common name, but every hostname must also appear in the SAN list.

How many names can a SAN certificate hold?

The limit is set by each certificate authority rather than by the standard. Large lists make the certificate bigger and every renewal riskier, so group names that change together.

Can I add a domain to an existing SAN certificate?

Not in place. You request a reissued certificate with the new list, validate the added name, and install the new file. The old certificate keeps working until you replace it.

Do all names on a SAN certificate need the same owner?

They need to pass validation by the same applicant. In practice that means you control every domain listed, because the CA checks control of each one.

Put it to work on your own domain

See the first-year and renewal price before you pay.

.com first year$24.99, renews $24.99Check a domain
↑