问题背景
最近新增的一个SQL Server服务器,为了修复SSL漏洞,关闭了SSL和TLS1.0和1.1,只启用了TLS1.2
在该数据库上创建链接服务器时,出现以下错误:SSL 提供程序:因为算法不同,客户端和服务器无法通信
要链接的数据库是个低版本未启动TLS的数据库。

处理方法
通过ODBC数据源指定数据源的驱动程序
步骤
配置ODBC数据源
打开ODBC数据源
开始
-控制面板
-管理工具
-ODBC数据源(64位)
创建系统数据源
点击 系统DSN
-添加
选择ODBC Driver 11 for SQL Server
-完成

输入数据源
名称
(该名称用于后续数据库中创建链接数据库使用)和服务器

选择
使用用户输入登录ID和密码的SQL Server验证

按需求更改默认数据库或者直接
下一步

点击
完成

此处会显示之前的配置,点击
测试数据源
,可以查看是否可以正常连接
创建链接服务器
连接SQL Server数据库
服务器对象
-链接服务器
-鼠标右键-新建链接服务器

在
数据源
处,输入上一步配置ODBC数据源时填写的名称

点击
安全性
,选择使用此安装上下文建立连接
,输入用户名和密码,确定

网友评论