Updated on Apr 30, 2024
Attention!
This part of our tutorial is outdated. The Let's Encrypt plugin for cPanel has been discontinued and is no longer available. All Let's Encrypt certificates are now handled by AutoSSL. For more information, please read our blog post on the topic.
A wildcard certificate is an SSL certificate valid for all of a domain’s subdomains. It eliminates the necessity to install an SSL certificate on each subdomain individually. It can be identified by an asterisk in front of the domain it was issued on. For example, *.domain.com.
The majority of users do not need a wildcard certificate. However, they can be useful in situations like these:
Unless your requirements resemble one or more of those listed above, we recommend you stick to non-wildcard certificates. They are simpler, faster to issue, and safer to manage.
There are two criteria that must be met so the installation of the wildcard certificate will be successful.
The steps for issuing a wildcard certificate are very similar to the steps for a normal certificate.
If you experience a failure, please double-check that your domain is using the Nameservers of the hosting service the issuing Let’s Encrypt is on, rather than being externally hosted (such as on Cloudflare).
Sometimes you will want to share a single wildcard certificate between many subdomains without having to re-issue the certificate to the main domain. This is handy if you already have a wildcard certificate issued, but you add a new subdomain and want to expand the wildcard certificate's coverage to it as well. You can do this the following way:
Using this particular functionality of Let's Encrypt will save you a lot of time and effort. With this you can add subdomains to the wildcard SSL certificate without having to reissue it over and over.