Re: JDBC - MSQL 2K5/MS SQL 2005 SSL ISSUE



My question is also same, however I am trying to configure SSL on SQL Server
2000,
1-SQL Server OS is Windows 2003 Server, SQL Server 2000 with SP 4, Active
directory is also installed on same machine, this is test system a AD domain
trust relationship is configured with the production domain).
2- I create and configure the certificate successfully, (MS CA was also
installed on the same machine, Server Authentication certificate was issued
by this CA, however I removed CA's private key from server).
3- I enabled "Force Protocol Encryption" option, (at this point I have a
question that is "how can I make it sure either SQL Server SSL configured
successfully", is there any utility / mechanism to verify SSL
configuration?)
4- Using SQL 2005 Management studio/ SQL Server 2000 Client (from other
machines joined to production domain controller), connection to server is
OK, (I have no idea either it is SSL or Non-SSL, please note it that "Force
Encrypted Connection" option in SQL Server 2000 network utility is enabled,
so I am sure SQL Server 2005 management studio is working behind SQL Server
using SSL).
5- But when I tried to communicate to the same server from same machines
using JDBC connectivity, I am failed to connect to SQL Server 2000 databases
I receive the error messages in SQL log as below
"Connection opened but invalid login packet(s) sent. Connection
closed.."
"Error: 17832, Severity: 20, State: 9"

I am using Sprinta Type 4 driver for JDBC connectivity.

Thank you in advance.

Best Regards,
Atiq Ur Rahman Chaudhary
IT Manager



"Phoenix" <sudhansutiwari@xxxxxxxxx> wrote in message
news:1184330960.938426.323870@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi ,


How could I query a SQL Server 2005 dataserver instance through my
Java Program if it is running in SSL mode or not ?
I am using a third party JDBC driver to esatblish SSL connection with
a MS SQL SERVER 2K5 dataserver but my connection
fails when the dataserver is restarted in Non - SSL mode. So , I need
a way to first query the database if its running in SSL
mode or not so that I can prepare my queries accordingly to make a
decision at runtime.


Thanks to you all genious in advance !!



.



Relevant Pages

  • rda pull error
    ... We have a pda with our application running on it that connects to a sql server ... the connection is made via sqlce and iis using ActiveSync. ... when i change the ip address and patch the pc onto an external port and use GPRS in the PDA to conncect to the server i get some strange problems. ... i have not configured anything to use ssl. ...
    (microsoft.public.sqlserver.ce)
  • RE: How to enable 2-way SSL encryption
    ... This digital signature takes the form of a certificate ... SQL server 2000 implements SSL. ... Enable SSL Encryption for SQL Server 2000 with Certificate Server ...
    (microsoft.public.sqlserver.server)
  • JDBC-SSL - MS SQL Server 2000 issue
    ... I am trying to configure SSL on SQL Server 2000, ... Encrypted Connection" option in SQL Server 2000 network utility is enabled, ... Loading database information ... ...
    (microsoft.public.sqlserver.security)
  • SSL Security error
    ... I have a problem connecting to Sql server 2000 using ssl from a .net web application. ... I really would like to know if anyone has successfully used a ssl connection from a .net application?!!!??? ... The certificates common name is fully qualified.....servername.domainname.com ...
    (microsoft.public.sqlserver.security)
  • How to install SQL server securing it with SSL communications. For Server 2000 or Server 2003. Issue
    ... segment as the webserver or SQL server with windows patches. ... Most early invented NIDS do NOT understand SSL or IPv6 traffic because they ... administrators group during the installation or after. ... Use the HTML web page on the certificate server. ...
    (microsoft.public.sqlserver.security)