Free SSL for Subdomains: Wildcard or Single
Free SSL for subdomains comes in three forms: one certificate per subdomain, one certificate listing several names, or a wildcard. Let's Encrypt and similar CAs let you cover as many subdomains as you like. The right choice depends on how many subdomains you have and whether you can edit DNS automatically.
Three ways to get SSL for subdomains
| Option | Covers | Validation | Best for |
|---|---|---|---|
| Single name | blog.example.com | HTTP-01 or DNS-01 | One or two hostnames |
| Multi-name (SAN) | Up to 100 listed names | HTTP-01 or DNS-01 | A fixed set of known subdomains |
| Wildcard | *.example.com | DNS-01 only | Many or changing subdomains |
What a wildcard does not cover
*.example.com matches one label. It covers app.example.com but not example.com itself, and not dev.app.example.com. Request a certificate with both example.com and *.example.com when you need the root as well.
SSL for subdomains: wildcard validation with DNS
A wildcard requires proof that you control the DNS zone. The CA gives you a TXT value to publish at _acme-challenge.example.com. Check that it is visible with the DNS Lookup tool before asking the CA to verify.
_acme-challenge.example.com. IN TXT "value-from-the-ca"If your DNS provider has an API, an ACME client can create and remove this record for you, which makes renewals hands-off. Without an API you must repeat the manual step at every renewal: about every 60 days on a 90-day certificate, every 43 days on a 64-day one from 10 February 2027 and every 30 days on a 45-day one from 16 February 2028 (Let's Encrypt announcement).
Security trade-off
One wildcard certificate means one private key that works for every subdomain. If a single server holding it is compromised, all subdomains are affected. For sensitive hosts such as admin panels or payment pages, a separate certificate with its own key limits the blast radius.
SSL checks for each subdomain
- Each subdomain needs a DNS record pointing to a server that has the certificate installed.
- If a subdomain is behind a CDN, the CDN may need the certificate or provide its own.
- Mail, FTP or API subdomains served from other hosts need the certificate installed there too.
- Check expiry on all names at once with the Bulk SSL Checker.
Quick recommendation
| Situation | Use |
|---|---|
| 2 to 5 stable subdomains | One SAN certificate |
| Many subdomains, one team | Wildcard with automated DNS-01 |
| Customer-created subdomains | Wildcard, or issue per subdomain on demand |
| No DNS API and little time | Single-name certificates with HTTP-01 |
You can start on TryFreeSSL and install the certificate files on the server that hosts the subdomain.
Renewal and expiry tracking
Subdomains are where certificates get forgotten. A wildcard renews in one go, but an individual certificate on a staging host or a legacy tool can sit unnoticed until it expires. Keep an inventory of every hostname that serves HTTPS, who owns it and how it renews. Run the whole list through the bulk checker every week or two and look into anything with less than 14 days left, which means normal renewal has already failed.
Automate wherever possible. An ACME client with a DNS plugin handles wildcard and SAN certificates the same way, and a deploy hook can copy the renewed files to every server that needs them.
Related reading: getting a free wildcard certificate, Free SSL for SaaS: Wildcards and Automation and the Let's Encrypt 64-day change.
Frequently Asked Questions
Is a wildcard certificate free?
Yes, from Let's Encrypt, through DNS-01 validation. Some other CAs reserve wildcards for paid plans.
Can one certificate cover both example.com and its subdomains?
Yes. List example.com and *.example.com as names on the same certificate.
How many subdomains can one certificate hold?
Let's Encrypt allows up to 100 names per certificate.
Do subdomains need separate renewals?
If they share one certificate, one renewal covers all. Separate certificates renew separately.
✅ Post-Installation Verification & SEO Checklist
After applying the steps above, run through this 5-point checklist to prevent browser warnings and protect your Google SEO rankings:
- Verify full CA chain trust and TLS 1.3 support using our Live SSL Checker.
- Scan for Mixed Content HTTP links and check HSTS/CSP headers on Security Headers Checker.
- Enforce a permanent 301 HTTP-to-HTTPS redirect with our HTTPS Redirect Generator.
- Confirm both root and
wwwversions resolve cleanly to one canonical HTTPS URL. - Verify your HTTPS property and
sitemap.xmlinside Google Search Console and Bing Webmaster Tools.