Select the product you need help with
How SQL Server uses a certificate when the Force Protocol Encryption option is turned onArticle ID: 318605 - View products that this article applies to. This article was previously published under Q318605 On This PageSUMMARY
This article describes how SQL Server uses, locates, and validates a certificate when the Force Protocol Encryption option is turned on either on the client or on the server to enable Net-Library encryption.
Note The concepts and discussions in this article that apply to SQL Server 2000 also apply to SQL Server 2005. However, in SQL Server 2005, use the ForceEncryption option instead of the Force Protocol Encryption option. You can set the value of the ForceEncryption option to Yes to enable encryption connections for an instance of SQL Server. For more information, see the "How to: Enable Encryption Connections to the Database Engine (SQL Server Configuration Manager)" topic in SQL Server 2005 Books Online. MORE INFORMATIONHow SQL Server uses certificatesSQL Server 2000 supports the Force Protocol Encryption option to control the Net-Library encryption. When the Force Protocol Encryption is on, SQL Server uses Secure Sockets Layer (SSL) to encrypt all communication between the client and SQL Server. A certificate is required because SSL encryption works only with instances of SQL Server 2000 that are running on a computer that has a certificate assigned from a public certification authority. For more information, click the following article number to view the article in the Microsoft Knowledge Base:276553
For more information about how to turn on SSL encryption for SQL Server 2000, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/276553/
)
How to enable SSL encryption for SQL Server 2000 with Certificate Server
316898
If the Force Protocol Encryption option is turned on on the client by using the SQL Server Client Network Utility, only communication for that client to SQL Server is encrypted. If that client tries to connect to another computer that is running SQL Server, the client tries to encrypt the communication. If the Force Protocol Encryption option is turned on on the client, that client is no longer backward compatible. Therefore, the client cannot connect to Microsoft SQL Server 6.5 or Microsoft SQL Server 7.0. If the computer that is running SQL Server to which the client is trying to connect does not have a certificate installed, the client receives this error message:
(http://support.microsoft.com/kb/316898/
)
How to enable SSL encryption for SQL Server 2000 with Microsoft Management Console
Encryption not supported on SQL Server Encryption not supported on SQL Server 2001-08-23 15:12:09.48 server Encryption requested but no valid certificate was found. SQL Server terminating. 2001-08-23 15:12:09.62 server Error: 17826, Severity: 18, State: 1 2001-08-23 15:12:09.62 server Could not set up Net-Library 'SSNETLIB'.. 2001-08-23 15:12:09.67 server Error: 17059, Severity: 18, State: 0 2001-08-23 15:12:09.67 server Operating system error -1073723998: .. 2001-08-23 15:12:09.67 server Unable to load any netlibs. 2001-08-23 15:12:09.74 server SQL Server could not spawn FRunCM thread. How SQL Server locates a certificateFor the SQL Server 2000 golden release, SQL Server looks at the certificate store to find a certificate with the same name as the Fully Qualified Domain Name System (FQDN) of the SQL Server computer name. If you deploy SQL Server with a failover cluster, you must install the server certificate with the FQDN of the virtual server on all nodes in the failover cluster.Starting with Microsoft SQL Server 2000 Service Pack 1, SQL Server looks for a binary value that is named Certificate in this registry key: HKLM\SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\SuperSocketNetLib If you are using SQL Server 2005, you can find the Certificate registry entry under the following registry subkey:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.x\MSSQLServer\SuperSocketNetLib Note MSSQL.x is a placeholder for the corresponding value of the instance of SQL Server. If the certificate value is missing or set to a zero length string, SQL Server looks at the certificate store to find a certificate with the same name as the FQDN of the SQL Server computer name. If the registry value is set, SQL Server tries to use that certificate. How SQL Server verifies that a certificate is valid
PropertiesArticle ID: 318605 - Last Review: January 2, 2006 - Revision: 7.3 APPLIES TO
| Article Translations
|


Back to the top








