The issue is related to the `ssl do connect` function in `common/server.c`, which fails to verify that the server hostname matches a domain name in the X.509 certificate. This allows attackers to spoof SSL servers via an arbitrary valid certificate, enabling man-in-the-middle attacks.