7 ms·
I've tried to find this info multiple times but what cert will work for: domain.com sub1.domain.com sub2.sub1.domain.com I'd love to buy one cert for my mai
by joshstrange 11y ago
I've tried to find this info multiple times but what cert will work for:
domain.com
sub1.domain.com
sub2.sub1.domain.com
I'd love to buy one cert for my main domain and then be able to secure "infinite" depth of subs but every place I've contacted said that doesn't work yet they seem to have done just that...
- timdorr 11y agoThere's a section in the article about how they use dashes instead of dots to separate octals in the IP. That way the wildcard cert covers those subdomains because they are only one level deep.
- joshstrange 11y agoAhh, I'm an idiot. Thank you for pointing that out to me. xip.io uses dots and so my brain just assumed dots on this one was well. I still would be very interested in finding a provider that did this or gave a reasonable number of domains on the cert. Though wildcard on subs is what I really want without having to buy one for each sub so I can do: .server1.joshstrange.com .server2.joshstrange.com etc...
- stouset 11y agoProviders can't do this, because browsers implement an RFC that doesn't allow multi-level wildcards.
- joshstrange 11y agoYeah, I've read this previously. It seems odd to me, I feel like I should be able to do this, I own the domain and I want to secure everything underneath it... sigh I guess I'll have to settle for a cert that allows for lots of domains under it and just have to create a different cert for each domain.
- teraflop 11y agoAFAIK, all major browsers follow RFC 6125 which says that only single-level wildcards are supported. https://tools.ietf.org/html/rfc6125#section-6.4.3 https://tools.ietf.org/html/rfc6125#section-6.4.3 https://bugzilla.mozilla.org/show_bug.cgi?id=646613 https://bugzilla.mozilla.org/show_bug.cgi?id=646613 https://code.google.com/p/chromium/issues/detail?id=70517 https://code.google.com/p/chromium/issues/detail?id=70517 Your best bet is probably to wait for Let's Encrypt to be generally available, so that you can automatically generate a separate certificate for every hostname.
- feld 11y agohttps://en.wikipedia.org/wiki/SubjectAltName https://en.wikipedia.org/wiki/SubjectAltName