2

I know that you can't use a SSL wildcard certificate for multiple subdomains. e.g. If I have a certificate for *.example.com I can use it for domains like test.example.com but not for test.test.example.com.

Why is that? I don't see a security reason why this was done.

If I'm the verified owner of example.com, why should connections to x.x.example.com be insecure?

3
  • 1
    So you are asking where this rules are defined (RFC 2818 among others) or why there are defined this way? Commented Dec 13, 2016 at 14:45
  • Why they are defined like this
    – Lars
    Commented Dec 13, 2016 at 14:46
  • In this case there is already a question which covers this -> duplicate. Commented Dec 13, 2016 at 14:48

1 Answer 1

-1

Certificates for *.example.com are only valid for one subdomain level.

If you want a certificate valid for x.x.example.com you need a certificate with x.x.example.com or *.x.example.com , it's how it works.

2
  • 3
    Yes I know how it works. But I wanted to know why it is this way. As far as I know there is no security benefit from not allowing it.
    – Lars
    Commented Dec 13, 2016 at 14:44
  • 2
    @Lars: there's a minor benefit that it simplifies implementation. However, I think the main reason why the standard doesn't allow arbitrary depth certificate has more to do with the commercial incentive of the certificate authorities. The CA are also the one that writes the certificate standard, and for them, the current limitation means they can charge more money for sub-sub-domains and there hasn't been a strong enough push to extend the standard in this manner from the non-CA authors of the standard.
    – Lie Ryan
    Commented Dec 13, 2016 at 17:01

Not the answer you're looking for? Browse other questions tagged .