积极答复者
为了Encrypt connection如果安装SSL证书

问题
答案
-
客户端和服务端都需要配置的, 你需要一个证书, 这个证书可以是你信任的证书发放机构, 你也可以自己建立证书服务器.
具体的, 你可以参考一下 sql server 联机丛书中的"如何启用数据库引擎的加密连接(SQL Server 配置管理器)"
http://msdn.microsoft.com/zh-cn/library/ms191192(SQL.90).aspx- 已标记为答案 Hong-Gang Chen - MSFTModerator 2009年11月6日 6:54
-
首先,你得配置一个证书服务器,具体如何配置,你可参考资料如:
http://www.cnblogs.com/fypoop/archive/2004/09/14/42923.html
然后在服务器上,执行如下操作:
1) 从证书服务器上,获得证书。通常为网页形式。如果机器名为xxxx, 那么在网页中,设name和friendly name为xxxx, Type of Certificate Needed为Server Authentication Certificate, 然后选择Store certificate in the local computer certificate store, 然后提交。
2) 选择 Install this certificate
3) 用mmc打开certificate on local computer. 然后在Personal Certificates就会看到新安装的certificate
4) 重新启动SQL Server
5) 这样,你在链接的时候,可以用Encryption=Yes来连。- 已标记为答案 Hong-Gang Chen - MSFTModerator 2009年11月6日 6:53
全部回复
-
客户端和服务端都需要配置的, 你需要一个证书, 这个证书可以是你信任的证书发放机构, 你也可以自己建立证书服务器.
具体的, 你可以参考一下 sql server 联机丛书中的"如何启用数据库引擎的加密连接(SQL Server 配置管理器)"
http://msdn.microsoft.com/zh-cn/library/ms191192(SQL.90).aspx- 已标记为答案 Hong-Gang Chen - MSFTModerator 2009年11月6日 6:54
-
首先,你得配置一个证书服务器,具体如何配置,你可参考资料如:
http://www.cnblogs.com/fypoop/archive/2004/09/14/42923.html
然后在服务器上,执行如下操作:
1) 从证书服务器上,获得证书。通常为网页形式。如果机器名为xxxx, 那么在网页中,设name和friendly name为xxxx, Type of Certificate Needed为Server Authentication Certificate, 然后选择Store certificate in the local computer certificate store, 然后提交。
2) 选择 Install this certificate
3) 用mmc打开certificate on local computer. 然后在Personal Certificates就会看到新安装的certificate
4) 重新启动SQL Server
5) 这样,你在链接的时候,可以用Encryption=Yes来连。- 已标记为答案 Hong-Gang Chen - MSFTModerator 2009年11月6日 6:53