Pre-login handshake woes with connecting directly to SQL Azure
We are currently experiencing a rather troublesome problem in our development environment with the following message... A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: SSL Provider, error: 0 - The certificate's CN name does not match the passed value.) ...the commonly accepted wisdom to resolving this problem is to set the TrustServerCertificate portion of the connection to True . However, this does not work reliably or consistently. This particular error occurs in a number of instances, for instance testing our