http://bugs.winehq.org/show_bug.cgi?id=22709
--- Comment #4 from Juan Lang juan_lang@yahoo.com 2010-05-16 11:20:50 --- openssl doesn't support/validate the alterative name extension. And I'm familiar with wildcard DNS names in certificates. I've already stated why this one is invalid: a * character is valid in the certificate's common name, but not in the DNS name field. At least, not according to RFC 5280/1034.
I'm not disagreeing that this is a bug, I'm just stating that common practice appears to violate the RFCs. The RFCs are probably underspecified here, though. In any case, what's really needed is a test for this.