The certificate received from the remote server does not contain the expected name. It is therefore not possible to determine ...

The certificate received from the remote server does not contain the expected name. It is therefore not possible to determine whether we are connecting to the correct server. The server name we were expecting is %1. The SSL connection request has failed. The attached data contains the server certificate.