Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

SSL Security Error

 
   Database Help (Home) -> Connect RSS
Next:  Unable to attach database  
Author Message
Vossaka

External


Since: Dec 11, 2003
Posts: 1



(Msg. 1) Posted: Thu Dec 11, 2003 2:57 pm
Post subject: SSL Security Error
Archived from groups: microsoft>public>sqlserver>connect (more info?)

I am trying to set up a connection to SQL Sever 2000 on a Win2000 Server
from an NT workstation.

I get an SSL encryption error when I try to connect. The setup is exactly
the same as on my previous workstation. We have previously fixed this
problem by running the Client Network Utility and ensuring that TCP/IP was
the only protocol enabled and that the Force protocol encryption checkbox
was unchecked. We do not have any certificates installed on the server
(AFAIK) as we are all inside the firewall. This is an intranet only
application.

In fact, I can go to my old machine, check this Force protocol encryption
box, and it will give exactly the same error message. But all I have to do
is uncheck the box, and it works fine. But on this new thing, (an IPEX
Celery 2GHz) unchecking the box has no effect.

The error reported is:

SSL Security Error
ConnectionWrite(SECEncryptData())

I have no access to the server and I wouldn't want to make any changes there
anyway because other workstations with exactly the same setup are
unaffected. This is a corporate environment, so an upgrade from NT is not a
possibility.

I have uninstalled and re-installed the SQL Sever Administrator, I have
installed MDAC 2.8.

thanks in advance
Vossaka

 >> Stay informed about: SSL Security Error 
Back to top
Login to vote
Kevin McDonnell MS

External


Since: Dec 12, 2003
Posts: 219



(Msg. 2) Posted: Thu Dec 11, 2003 11:08 pm
Post subject: RE: SSL Security Error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Check the following registry key on the client machine.

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\Client\SuperSocketNetLib
If the Encrypt value is set to 1, then the client is requesting SSL.

Also, your application may be requesting it thru a connection string option
or the ODBC DSN could also be set to Enable encryption.

You could also make a network trace from the client machine to verify if
the Server does have a certificate installed. This information is sent
back to the client during the preloginhandshake.


Thanks,

Kevin McDonnell
Microsoft Corporation

This posting is provided AS IS with no warranties, and confers no rights.

 >> Stay informed about: SSL Security Error 
Back to top
Login to vote
Vossaka1

External


Since: Dec 15, 2003
Posts: 1



(Msg. 3) Posted: Mon Dec 15, 2003 5:28 pm
Post subject: RE: SSL Security Error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

 >-----Original Message-----
 >Check the following registry key on the client machine.
 >
 >HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\Client\S
uperSocketNetLib
 >If the Encrypt value is set to 1, then the client is
requesting SSL.
 >
 >Also, your application may be requesting it thru a
connection string option
 >or the ODBC DSN could also be set to Enable encryption.
 >
 >You could also make a network trace from the client
machine to verify if
 >the Server does have a certificate installed. This
information is sent
 >back to the client during the preloginhandshake.
 >
 >
 >Thanks,
 >
 >Kevin McDonnell
 >Microsoft Corporation
 >
 >This posting is provided AS IS with no warranties, and
confers no rights.
 >
 >
Thanks for your reply Kevin.

I have checked SuperSocketNetLib on my client workstation
and it is set to 0, there is no encryption set in the ODBC
DSN.

So, am I now looking for the same setting
(SuperSocketNetLib) in the registry of the server? And if
the server had this setting, why would it be demanding SSL
encryption from some clients but not others?

There is no way I can get access to the server in my
particular corporate environment. So I will need to
document the whys and wherefores in some detail and submit
a request to change this setting.

More detail will be most welcome.

regards,
Vossaka
 >> Stay informed about: SSL Security Error 
Back to top
Login to vote
Kevin McDonnell MS

External


Since: Dec 12, 2003
Posts: 219



(Msg. 4) Posted: Tue Dec 16, 2003 3:55 am
Post subject: RE: SSL Security Error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

The serverside key is:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\SuperSocketNet
Lib

Encrypt:

If your client is using MDAC 2.7, then you could be running into the
following issue;

322144 FIX: SECDoClientHandShake Cannot Connect to SQL Server
http://support.microsoft.com/?id=322144

I would suggest making a network trace from the client machine and
reviewing it with your network team. Also,
check to see what account the SQL server is running with.


Thanks,

Kevin McDonnell
Microsoft Corporation

This posting is provided AS IS with no warranties, and confers no rights.
 >> Stay informed about: SSL Security Error 
Back to top
Login to vote
sureindia

External


Since: Jun 29, 2006
Posts: 1



(Msg. 5) Posted: Thu Jun 29, 2006 1:10 am
Post subject: Re: SSL Security Error [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Yes McDonnel,

We also receive the same error. But the issue is a bit different. Th
environment had changed from Windows 2000 to Windows 2003. The SQL D
Server machine also got changed from Windows 2000 to Windows 2003.

Now we got an application which actually imports data into the DBServe
database.

When the application is manually invoked and run after filling in th
text boxes with necessary information import was successful.

But when the same application is invoked using a batch script file, th
application is started and all the parameters are filled in the tex
boxes of the application. But import doesnt happen. We get two types o
error at different times.

First one is
-----------
2006\06\06 11:56:09 General SQL error.
[Microsoft][ODBC SQL Server Driver][DBNETLIB]SSL Security error
[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionOpe
(SECDoClientHandshake()).
Alias: PRODUS

Second one is
-------------
2006\06\26 06:52:56 Read failure.
[Microsoft][ODBC SQL Server Driver][DBNETLIB]SSL Security error
[Microsoft][ODBC SQL Server Driver][DBNETLIB]ConnectionWrit
(SECEncryptData()).
Alias: PRODUS


From your discussion I understand some secure connection request i
trying to establish from client. But if that is the case why should i
work when manually invoked and why shouldnt it work when invoked with
batch.



Thanks in Advance
Suresh Kannan from Indi

--
sureindi
-----------------------------------------------------------------------
sureindia's Profile: http://www.dbtalk.net/m47
View this thread: http://www.dbtalk.net/t15369
 >> Stay informed about: SSL Security Error 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
SSL Security error -ConnectionOpen(SECDoClientHandshake) - Please help. On my default instance of SQL Server 2000, which could be accessed OK with both Windows and SQL server authentication, I now get the error in the subject line above. The message in the error window - in SQL server enterprise manager- suggest...

Error connecting to sql server 2000 using pocket pc - I'm trying to connect to my sql on my desktop using a pocket pc emulator and i seem to get the following exception: Message: Specified Sql Server Not found: \SHREK the connection string i use is: myConnectionString=..

Cannot generate SSPI context - Hi All, I am experiencing problems with a remote user (w2k pro,sql 7) attempting to connect and replicate with a Sql Server 7 on NT server. They are receiving 'Cannot generate SSPI context' messages when trying to use a vb app over a vpn. This problem..

connection string does not work for a different server - Hi all, I currently have an ASP .Net project running locally, and accessing a local SQL server 2000 database. The project runs fine since it is able to open the connection to the database, and perform operations on it locally using a connection dtata..

IIS 6 and Windows Authentication to SQL Server 2000 - I am running a Windows Server 2003 machine as my web server. I would like to use Windows authentication for connections to my SQL Server 2000 instance on a Windows 2000 server. I've read where mirroring the ASPNET account and password on the web server...
   Database Help (Home) -> Connect All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]