This error indicates that the name provided in the TLS server certificate did not match the server name in the URI.
Things to try:
Check that the server is using the correct certificate.
Check that the client is using the correct name to connect to the server. The name must exactly match the name provided in the certificate. This is usually the fully-qualified domain name, such as boot.ipxe.org.