bdomains, you can easily install the certificate on a single IP address for all the subdomains. For this particular scenario to work:
- All subdomains must be on the same IP and cPanel account
- You must have a wildcard SSL qualifying for *.tld.com
Create the following files:
- /etc/ssl/certs/tld.crt
- /etc/ssl/certs/tld.cabundle
Now download the install script from here.
This is basically just a bash script that you can use to install a wildcard SSL for a domain. Running it will install the certificate on all subdomains of the domain passed to the script:
chmod 755 wildcardssl.shAfter it runs, all you need to do is restart Apache. Please make a copy of /var/cpanel/userdata before running the script for the first time, until you’ve verified that it works on your setup. Please note that this script would need to be run again if more subdomains are added later on.
./wildcardssl.sh $domain
No comments:
Post a Comment