Say I own the domain example.com
and want to setup multiple websites as sub domains on this domain, but these websites also use several special endpoints as further subdomains. Can I put them all on 1 SAN + wildcard SSL certificate, and what providers might support creation of said certificate?
I.e., I would like to protect
example.com
siteXXX.example.com (where siteXXX refers to the sub sites token)
www.example.com
api.example.com
mail.example.com
www.siteXXX.example.com
api.siteXXX.example.com
mail.siteXXX.example.com
I was thinking I'd need something that looks like
example.com
*.example.com (covers siteXXX, api, www, mail)
www.*.example.com (covers www.siteXXX)
api.*.example.com (covers api.siteXXX)
mail.*.example.com (covers mail.siteXXX)
Does the standard even allow this? I'm not sure because I can only find example with the wildcard component as the lowest level sub domain, not a mid level sub domain.