Fixed issue that occurs when a client dials a server that is accessible by multiple endpointURLs. Add all possible HostNames like MyHost and MyHost.local into the Server Certificate. This includes IP addresses of the host or the HostName exposed by a NAT router used to connect to the Server.
If the client specifies an endpointURL that is not found in the server certificate, the error BadCertificateHostNameInvalid is returned, unless the client specifies the option WithInsecureSkipVerify().