Attrachii
Attrachii

Reputation: 793

SSL Multilevel Subdomain Wildcard

I bought a wildcard certificate for *.example.com. Now, I have to secure *.subdomain.example.com. Is it possible to create a sub-certificate for my wildcard-certificate?

If it is, how I can do this?

Upvotes: 76

Views: 75534

Answers (4)

Iliko
Iliko

Reputation: 63

As per 7 year old article at https://www.digicert.com/news/2010-9-1-new-wildcard-features/ https://web.archive.org/web/20190908131306/https://www.digicert.com/news/2010-9-1-new-wildcard-features/ :

DigiCert Wildcard Plus certificates can secure any subdomain using subject alternative names (SANs). A traditional wildcard certificate for *.example.com will only secure a first-level subdomain of example.com such as mail.example.com. DigiCert’s Wildcard Plus certificate uses SANs to secure any subdomain of example.com, including multi-level subdomains such as mail.internal.example.com. With this new feature, all subdomains can be secured with a single Wildcard Plus certificate from DigiCert. The base domain itself, example.com, is automatically included as a SAN in every Wildcard Plus certificate as well, which increases compatibility and protects example.com with or without the “www.”

Upvotes: 6

Steffen Ullrich
Steffen Ullrich

Reputation: 123260

No, it is not possible. A wildcard inside a name only reflects a single label and the wildcard can only be leftmost. Thus *.*.example.org or www.*.example.org are not possible. And *.example.org will neither match example.org nor www.subdomain.example.org, only subdomain.example.org.

But you can have multiple wildcard names inside the same certificate, that is you can have *.example.org and *.subdomain.example.org inside the same certificate.

Upvotes: 122

Jason Parms
Jason Parms

Reputation: 386

It is impossible to secure multi-level subdomains with a single wildcard certificate. If wildcard certificate issued for *.mydomain.tld, so it can secure only first-level subdomains of *.mydomain.com.

To secure your second-level subdomains, you have two choices.

Purchase another wildcard certificate for *.sub1.mydomain.tld. In that case, you need to manage two individual wildcard certificates.

You can go with a multi-domain wildcard certificate, where you can add up to 100 multiple domains or subdomains.

For example,

  • *.mydomain.tld
  • *.sub1.mydomain.tld
  • *.sub2.mydomain.tld
  • *.anydomain.com

It will secure your multiple domains and multi-level subdomains and reduce your hassle from multiple certificate management.

Upvotes: 22

user2967773
user2967773

Reputation:

No, You can't create sub-certificate for your wildcard.

-> Your wildcard Certificate is for *.mydomain.tld, so as per Wildcard SSL guideline you can secure first level sub-domains. Means anything.mydomain.tld can be secured.

-> But if you want to use it to secure *.subdomain.mydomain.tld, which is for second level sub-domains, but wildcard certificate cant secure second level sub-domains.

Solution

-> You need to buy one more wildcard SSL Certificate for your second level sub-domain *.subdomain.mydomain.tld

Upvotes: 1

Related Questions