Installing A Wildcard SSL Certificate
- Written by Vanessa Vasile
- Published in Apache, DNS, Hacks, Howto, Security
- 4 Comments
- Permalink
A wildcard ssl basically allows you to use unlimited subdomains on a given domain name with one SSL certificate. A user will need to purchase a wildcard SSL from a vendor that supplies them.
Similar to having multiple certificates installed on a
server, each subdomain containing the certificate needs its own IP as well. Wildcard SSL’s do not work like Wildcard DNS – you really do have to specifically install the certificate on each subdomain. Here are two methods to setting up Wildcard certificates for a domain.
Multiple Accounts
In this scenario, you’d have each subdomain hosted as a separate cPanel account, and each of those cPanel accounts will have its own IP address.
- Generate the Certificate Signing Request (CSR) in WHM, using *.domain.com
- Read this article to learn how to assign each account its own IP address
- When you’re obtained the certificate,go to WHM > Install a SSL Certificate and Setup the Domain and paste in the CRT and CA Bundle for *.domain.com
- The fields should auto-populate, in which case you need to make sure the IP is correct, then change the SSL hostname from *.domain.com to the target subdomain
- Click install to install the certificate
One Account
This method may be best for users that are not resellers or that are on shared hosting servers, where having multiple cpanel accounts may not be ideal. In this case, you’d have one cPanel account and assign multiple IPs to its subdomains.
- Generate the Certificate Signing Request (CSR) in WHM, using *.domain.co
- Read this article to learn how to assign dedicated IPs to multiple subdomains on the same account
- When you’re obtained the certificate,go to WHM > Install a SSL Certificate and Setup the Domain and paste in the CRT and CA Bundle for *.domain.com
- The fields should auto-populate, in which case you need to make sure the IP is correct, then change the SSL hostname from *.domain.com to the target subdomain
- Click install to install the certificate
4 Comments
Thanks for this article, it help me answer my own question on serverfault!
Pingback: Wildcard SSL Certifcate Installation - Admins Goodies
Pingback: Why do I get "Common name mismatch" error in my browser? - Help Center
Pingback: Whm cPanel SSL Wildcard Error / Misconfiguration [closed] - Boot Panic