Ssl – If a sub domain is secure with a SSL certificate, will the sub-subdomain also be secure

sslssl-certificate

I have a standard SSL certificate I just purchased from Godaddy. Now it won't let me use a wild card for issuing the certificate for my domain. It says that the * wild card is not included in my product. Which means that I can only secure one domain like subdomain.example.com.

Now my question is that if I get the certificate issued for subdomain.example.com, will it be valid for subdomain2.subdomain.example.com also?

Best Answer

A certificate will only be valid for the names it was issued for. But, a certificate can contain multiple names so in your case you could get a certificate which contains both subdomain.example.com and subdomain2.subdomain.com or maybe just have *.subdmain.example.com. The latter would then match your subdomain2. Please not that a wildcard only matches a single label and that only a leftmost wildcard is possible, that is *.*.example.com is not possible and *.example.com will match subdomain.example.com but not subdomain2.subdomain.example.com or example.com.

Related Topic