Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have created my own CA cert, and created a wildcard ssl cert for *.domain.com.

But we use a lot of sub-domains of the form abc.xyz.domain.com, and I can't seem to create a wild card that will work with this.

*.domain.com fails on abc.xyz.domain.com, and creating a wildcard for *.*.domain.com didn't seem to work.

Is there a way to do this, or do I need to create a wildcard for each subdomain?

share|improve this question

3 Answers 3

You could create ssl certificate for *.xyz.domain.com

share|improve this answer
That's an option, but I'm hoping there is a way to have all subdomains recognized. –  chris Jul 2 '13 at 13:13

Its not possible to apply wildcard as * . * .domain.com, wildcard can secure unlimited sub domain name on the "Same Domain Name" that can secure either *.domain.com or as Alex said *.xyz.domain.com, in both the term only the value of aster-risk can be changed not the other top or second level domain.

And applying wild card to each sub domain is expensive, you can use SAN SSL if you have limited sub domains, as SAN SSL can secure up to 25 different domains, servers or IPs.

share|improve this answer
The cost isn't really going to be a factor here as the certificates are being self signed with a trusted CA –  Matthew Steeples Oct 19 '13 at 11:06

For the record, it doesn't look like it's possible to have . as a wildcard.

We ended up renaming our hosts from abc.xyz to abc-xyz, and then the wildcard worked.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.