Hi Team,
Can I create the certbot ssl certificate for the second level subdomain..?
Example:
www.domain.example.com
Yes. In principle that's possible.
OK.. Actually I able to produce the SSL certificate for my main domain and subdomain ( Ex, example.com and *.example.com).
But when I enter the * . * .example.com, it shows more then one wildcard is found, so unable to produce the certificate.
If it's possible may I know how to do this.
Thank you
You can't have two wildcard labels in a hostname indeed, that's forbidden. Also: you didn't ask about multiple (or any for that matter) wildcards in your openings post
But you can have as much levels as you please (well, there probably is a limit somewhere), as long as there's only one (or none) wildcard label at the utmost left position.
An LE cert can have up to 100 entries.
So, you could combine many "levels" into one cert.
Like:
*.example.com
*.sub1.example.com
*.sub2.example.com
*.sub3.example.com
*.sub4.example.com
*.sub1.extra1.example.com
*.sub2.extra1.example.com
*.sub3.extra1.example.com
*.sub4.extra1.example.com
*.sub1.extra2.example.com
*.sub2.extra2.example.com
*.sub3.extra2.example.com
*.sub4.extra2.example.com
And most use cases don't need wildcards at all. You can just issue for some.long.multiple.label.name.example.com
, though I think there can only be up to 10 or so labels maximum.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.