CP-25372: Prefer non-wildcard certificate subjects
CP-25372: Prefer non-wildcard certificate subjects

In the VDI.get_nbd_info function, when reading a TLS certificate and
choosing a subject from it to include in the return value, avoid
wildcard subjects if possible: return a concrete hostname (DNS name)
if there is one, and a wildcard only as a last resort.

Signed-off-by: Thomas Sanders <c547603d2dd860735c4f0c043b1348f5c48c02f8@citrix.com>

srowe/xen-api,srowe/xen-api,srowe/xen-api,srowe/xen-api,srowe/xen-api