'How does wildcard ssl certificate match domains
In terms of wildcard ssl certificate, *bar.example.net would match domains like foobar.example.net, but will it also match bar.example.net ?
Solution 1:[1]
First of all, *bar.example.net
is not valid, it should be *.bar.example.net
. This already advances the answer, which is: no, *.bar.example.net
does not match bar.example.net
.
Solution 2:[2]
As Marcos said, you have to provide two entries for domain.com
and *.domain.com
which will cover for the main domain and any subdomain of the main domain.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Marcos Dione |
Solution 2 | Ashitaka |