Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Programming / Connectivity / August 2004

Tip: Looking for answers? Try searching our database.

SSL Security Error in WinXP SP2

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Shailesh Humbad - 28 Aug 2004 04:42 GMT
I am running SQL Server 2000 Developer (with Service Pack 3a) on
Windows XP Professional.  After installing Windows XP Service Pack 2,
I can no longer connect to SQL Server.  From Enterprise Manager, the
error shows up in a dialog when I click on the
"Machinename\Machinename (Windows NT)" node:

SQL Server Enterprise Manager
A connection could not be established to MACHINENAME\MACHINENAME
Reason: SSL Security Error
ConnectionOpen (SECDoClientHandshake())..
Please verify SQL Server is running and check your SQL Server
registration properties (by right-clicking on the
MACHINENAME\MACHINENAME node) and try again.

From the command line, the error is:

C:\>osql -E -S machinename\machinename
[DBMSLPCN]SSL Security error
[DBMSLPCN]ConnectionOpen (SECDoClientHandshake()).

This instance is configured as a named instance, with mixed-mode
authentication.  I can't connect with either authentication modes.  In
Windows Firewall, I tried both adding an exception for port 1433 and
turning it off, but the problem still exists.  I can stop/start the
SQL server instance, but I can't connect to it.

I noticed in another thread comments about uninstalling certificate
services, but WinXP does not have certificate services or even DNS.
On this computer, I am running IIS 5.1.  Also, I have used the
selfssl.exe utility (from IIS 6 administrators kit) to automatically
install a self-signed certificate.  Maybe this has interacted somehow
with XP Service Pack 2.

I also tried making a UDL file with the OLE DB Provider for SQL
Server, making sure the "Use Encryption for Data" setting is set to
false, but the same error occurred.
Shailesh Humbad - 28 Aug 2004 06:43 GMT
Never mind, the problem is solved.  I followed the directions in KB
309398.

"PRB: SQL Server 2000 Installation or Local Connections Fail with "SSL
Security error :ConnectionOpen (SECDoClientHandshake())" Error Message"

http://support.microsoft.com/default.aspx?scid=kb;en-us;309398

After going through the procedure outlined, instead of reimporting the
certificates back into the "Certificates (Local
Computer)->Personal->Certificates" store, I just deleted them because
they are test certificates only.  Then, I ran SelfSSL.exe again to
create a new certificate (with option /v:3650 so it will be valid for
10 years instead of default 7 days) and automatically assign it to my
default web site.  Now, IIS works with SSL, and I can connect to SQL
Server.

What law is it again where your computer works fine right up until the
moment your client calls and you need to show them something,
whereupon it gives some bizarre error message? Murphy's law?  Maybe
support.microsoft.com will have an answer for that too ;-)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2012 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.