SQL Server connection error with SSL security error

Copyright: copy, please indicate the source https://blog.csdn.net/weixin_39392627/article/details/90726330

env: Windows Server 2016

        SQL Server 2016 SP2

The new library is installed host crystal report, vs2010, after silverlight, the distal end use of the database account password to connect SQL Server, the following message appears:

[DBNETLIB][ConnectionOpen (SECCreateCredentials()).]SSL Security error.

But with the host network can connect through the service account

The reason may be upgraded after installation to install TLS1.0 to TLS1.2 and disabled TLS1.0

 

Solution:

Performing the following in the registry, setting the increase TLS1.0 CLIENT

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.1\Client]

"Enabled"=dword:00000001

"DisabledByDefault"=dword:00000000

 

After executing a smooth connection.

Guess you like

Origin blog.csdn.net/weixin_39392627/article/details/90726330