I have two SSL certificate one for *.sub.domain.com and one for *.domain.com.
I don't have issues with domain level wildcard certificate. Meaning https://www.domain.com & https://domain.com works fine with out any certificate errors.
But for the other one https://sub.domain.com gives certificate error(address miss match ) and https://www.sub.domain.com doesn't give any error.
Just another info both certificate are from the same provider.
sub.domain.com
doesn't match*.sub.domain.com
, but it does match*.domain.com
. – MadHatter Feb 3 '15 at 11:47domain.com
doesn't match*.domain.com
, which is very true, and just as trulysub.domain.com
doesn't match*.sub.domain.com
. It is true that in the bare domain case this is often handled by SANs, but in your case you have a wildcard certificate that will matchsub.domain.com
- all you need to do is use it. – MadHatter Feb 3 '15 at 12:01