I'm trying to have this working:
dev.somedomain.tld *.dev.somedomain.tld *.somedomain.tld
I created two SSL certs, one which contains dev.somedomain.tld and *.somedomain.tld, and the other contains *.dev.somedomain.tld.
I also created two VHost:
<VirtualHost 192.168.5.47:443>
ServerName dev.somedomain.tld
ServerAlias *.somedomain.tld
</VirtualHost>
<VirtualHost 192.168.5.47:443>
ServerName something.dev.somedomain.tld
ServerAlias *.dev.somedomain.tld
</VirtualHost>
Problem is: anything.dev.somedomain.tld goes to the dev.somedomain.tld vhost, no matter the priority in Apache.
Is there something special to do for higher level wildcards?