could not connect securely to server %2 because the certificate presented by the server was invalid. The certificate was ...

%1 could not connect securely to server %2 because the certificate presented by the server was invalid.  The certificate was not trusted as a server because the server Enhanced Key Usage (EKU) was not enabled for the certificate.

Resolution:
The network administrator has an invalid certificate installed on the server and will need to change the server's configuration to utilize a valid server certificate.  The server certificate is either missing the server EKU, or one of the issuing certificate authority (CA) certificates is not granted server EKU rights.  A blank EKU field in the certificate grants all rights, but if any issuer is missing the server EKU right, all certificates they issue aren't granted server EKU rights.