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.