简体   繁体   English

在SQL Server 2005 Express上安装证书(SSL加密)

[英]Install a certificate (SSL Encryption) on SQL Server 2005 Express

I found some manual here : http://support.microsoft.com/kb/316898/ru but can't make a step with : 我在这里找到了一些手册: http : //support.microsoft.com/kb/316898/ru但无法采取以下措施:

The Certificate Request Wizard dialog box opens. 将打开“证书申请向导”对话框。 Click Next. 点击下一步。 Select Certificate type is "computer". 选择证书类型为“计算机”。

On "Registration politics" step there is Active Directory registration politic by default and so it requests some registration server ... I got no some reg server , I just want to make some certificate and add it to my MS SQL 2005 Express 在“注册策略”步骤中,默认情况下有Active Directory注册策略,因此它需要一些注册服务器...我没有注册服务器,我只想制作一些证书并将其添加到我的MS SQL 2005 Express中

I also created some certificates using IIS, but when I setup it on my MSSQL Server fails to start at the end of starting with error like "Wrong query or service is inaccessible, see system log" 我还使用IIS创建了一些证书,但是当我在MSSQL Server上安装它时,在启动结束时无法启动,并显示诸如“错误的查询或服务不可访问,请参阅系统日志”之类的错误

Also there was some manual about using makecert utility, but my MSSQL saw not certificate I created using this tool like 也有一些关于使用makecert实用程序的手册,但是我的MSSQL没有看到我使用此工具创建的证书,例如

makecert -r -pe -n "CN= MySQLServerName" -b 01/01/2000 -e 01/01/2036 
-eku 1.3.6.1.5.5.7.3.1 -ss my -sr localMachine -sky exchange 
-sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12

so maybe I'm doing wrong or you got something helpful about my task : how to Install a certificate (SSL Encryption) on SQL Server 2005 Express ? 因此,也许我做错了,或者您对我的任务有所帮助:如何在SQL Server 2005 Express上安装证书(SSL加密)?

finally : sorry for my English and Thank you. 最后:对不起我的英语,谢谢。

In general the properties of the certificate which you create are OK. 通常,您创建的证书的属性是可以的。 The usage of -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12 switches are not needed. 不需要使用-sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12开关。 See http://msdn.microsoft.com/en-us/library/ms189067.aspx#sectionToggle2 . 请参阅http://msdn.microsoft.com/zh-cn/library/ms189067.aspx#sectionToggle2 You should verify that the host name of the server where SQL Server are running is MySQLServerName. 您应该验证运行SQL Server的服务器的主机名是MySQLServerName。 A blanks between CN and the hostname or DNS name are not needed (use "CN=MySQLServerHostName"). CN与主机名或DNS名称之间不需要空格(使用“ CN = MySQLServerHostName”)。

You should also verify that you installed certificate which you created in "Trusted Root Certification" certificate store of the local computer on the server where SQL Server are running. 您还应该验证已安装了在运行SQL Server的服务器上的本地计算机的“受信任的根证书”证书存储中创建的证书。

If you have an error during SQL Server start could you post the exact error message from the evenl log or from the ERRORLOG (from the directory C:\\Program Files\\Microsoft SQL Server\\MSSQL10.MSSQLSERVER\\MSSQL\\Log or something like that) 如果在SQL Server启动过程中出错,则可以从evenl日志或ERRORLOG(从目录C:\\ Program Files \\ Microsoft SQL Server \\ MSSQL10.MSSQLSERVER \\ MSSQL \\ Log或类似的目录)中发布确切的错误消息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM