I'm using Encrypt=yes
in a SQL Server connection string, as I need the TCPIP traffic to be encrypted, but on opening the connection I get an error:
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.)
Any suggestions how to fix this? I assume I need some sort of certificate relationship between my servers, but have no idea where to start.
I need this for two connections, one each to a SQL 2000 server and one to a 2005 server.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…