Secure multiple different domains with a single certificate.
A SAN (Subject Alternative Name) certificate, also called UCC (Unified Communications Certificate), allows securing multiple completely different domains with a single certificate. Unlike wildcards that cover subdomains of the same domain, SAN can include example.com, other-site.org, and third-domain.net together.
SAN certificates are ideal for companies managing multiple brands or distinct sites, or for securing both the main domain and its variants (with and without www, .com and .fr). They offer flexibility that wildcards don't have.
This guide explores SAN certificate use cases, how to obtain them, and differences with wildcard certificates to help you choose the right solution.
Why use a multi-domain certificate:
Choose the right solution for your case:
Steps to create a multi-domain certificate:
Certbot command examples:
#!/bin/bash
# SAN certificate with multiple domains
certbot certonly --nginx \
-d example.com \
-d www.example.com \
-d other-site.org \
-d www.other-site.org \
-d third-domain.net
# Check included domains
openssl x509 -in /etc/letsencrypt/live/example.com/cert.pem -noout -text | grep DNS
# Add a domain to an existing certificate
certbot certonly --nginx --cert-name example.com \
-d example.com \
-d www.example.com \
-d new-domain.com
# Combine SAN and wildcard
certbot certonly --dns-cloudflare \
--dns-cloudflare-credentials /etc/letsencrypt/cloudflare.ini \
-d "*.example.com" \
-d example.com \
-d other-site.org
You can add up to 100 domains in a Let's Encrypt certificate. Each domain must pass its validation.
Optimize your multi-domain certificate:
Let's Encrypt allows up to 100 names per certificate. Commercial certificates vary, typically 25 to 250.
With Let's Encrypt, yes. Use --cert-name and list all domains (old + new). It's essentially a reissuance.
Yes, you can mix example.com, example.org, example.fr in the same certificate.
Certificate issuance fails completely. All domains must pass their validation.
Slightly. A certificate with many SANs is larger and takes more time to transmit during the handshake.
Yes, you can have *.example.com, example.com, and other-domain.org in the same certificate.
SAN certificates are the ideal solution for managing multiple distinct domains. They simplify administration while offering the necessary flexibility.
Monitor each domain in your SAN certificate with MoniTao. A single certificate doesn't mean single monitoring: each domain deserves its own monitor.
Start free, no credit card required.