我Encrypt=yes在SQL Server连接字符串中使用,因为我需要加密TCPIP流量,但在打开连接时出现错误:
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.)
Run Code Online (Sandbox Code Playgroud)
有任何建议如何解决这个问题?我假设我的服务器之间需要某种证书关系,但不知道从哪里开始.
我需要两个连接,一个连接到SQL 2000服务器,一个连接到2005服务器.