<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic DB Connect hangs when attempting to connect to MSSQL using SSL (ssl enforced on database server) in Security</title>
    <link>https://community.splunk.com/t5/Security/DB-Connect-hangs-when-attempting-to-connect-to-MSSQL-using-SSL/m-p/54828#M13914</link>
    <description>&lt;P&gt;My DB Connect app has no problem connecting to a non-ssl enforced MSSQL instance.  However, when connecting to a ssl enforced MSSQL instance, db connect appears to hang.&lt;/P&gt;

&lt;P&gt;One interesting observation is that the problem (hang) seems to be reproducible using a 3rd party app like DBVisualizer to connect using the jTDS driver (same driver use by DB Connect).&lt;/P&gt;</description>
    <pubDate>Wed, 04 Sep 2013 16:24:28 GMT</pubDate>
    <dc:creator>splunkIT</dc:creator>
    <dc:date>2013-09-04T16:24:28Z</dc:date>
    <item>
      <title>DB Connect hangs when attempting to connect to MSSQL using SSL (ssl enforced on database server)</title>
      <link>https://community.splunk.com/t5/Security/DB-Connect-hangs-when-attempting-to-connect-to-MSSQL-using-SSL/m-p/54828#M13914</link>
      <description>&lt;P&gt;My DB Connect app has no problem connecting to a non-ssl enforced MSSQL instance.  However, when connecting to a ssl enforced MSSQL instance, db connect appears to hang.&lt;/P&gt;

&lt;P&gt;One interesting observation is that the problem (hang) seems to be reproducible using a 3rd party app like DBVisualizer to connect using the jTDS driver (same driver use by DB Connect).&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2013 16:24:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/DB-Connect-hangs-when-attempting-to-connect-to-MSSQL-using-SSL/m-p/54828#M13914</guid>
      <dc:creator>splunkIT</dc:creator>
      <dc:date>2013-09-04T16:24:28Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect hangs when attempting to connect to MSSQL using SSL (ssl enforced on database server)</title>
      <link>https://community.splunk.com/t5/Security/DB-Connect-hangs-when-attempting-to-connect-to-MSSQL-using-SSL/m-p/54829#M13915</link>
      <description>&lt;P&gt;By adding this -Djsse.enableCBCProtection=false param in the java options, I can connect to SSL enabled MSSQL instance without having to add any new parameters in the JDBC connection URL. &lt;/P&gt;

&lt;P&gt;This appears to be a java bug:&lt;BR /&gt;
&lt;A href="https://www.aquaclusters.com/app/home/project/public/aquadatastudio/discussion/GeneralDiscussions/post/25/Java-6u29-bug-prevents-SSL-connection-to-SQL-Server-2008-R2"&gt;https://www.aquaclusters.com/app/home/project/public/aquadatastudio/discussion/GeneralDiscussions/post/25/Java-6u29-bug-prevents-SSL-connection-to-SQL-Server-2008-R2&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://forums.oracle.com/message/10843957"&gt;https://forums.oracle.com/message/10843957&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;To workaround it, I have to add "-Djsse.enableCBCProtection=false" to the java options parameter, by appending it in the $SPLUNK_HOME/apps/dbx/local/java.conf file. Here is mine for your reference:&lt;/P&gt;

&lt;P&gt;[java]&lt;BR /&gt;
home = /home/luan/jdk1.7.0_25&lt;BR /&gt;
options = -Xmx256m -Dfile.encoding=UTF-8 -server -Djsse.enableCBCProtection=false -Duser.language=en -Duser.reg ion=&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2013 16:28:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/DB-Connect-hangs-when-attempting-to-connect-to-MSSQL-using-SSL/m-p/54829#M13915</guid>
      <dc:creator>splunkIT</dc:creator>
      <dc:date>2013-09-04T16:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect hangs when attempting to connect to MSSQL using SSL (ssl enforced on database server)</title>
      <link>https://community.splunk.com/t5/Security/DB-Connect-hangs-when-attempting-to-connect-to-MSSQL-using-SSL/m-p/54830#M13916</link>
      <description>&lt;P&gt;Hello, i have the same issue during connecting dbx to mssql2012.&lt;BR /&gt;
I add -Djsse.enableCBCProtection=false to .../apps/dbx/local/java.conf  and it's didn't work&lt;/P&gt;

&lt;P&gt;Can anybody help me with this?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Mar 2015 14:54:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/DB-Connect-hangs-when-attempting-to-connect-to-MSSQL-using-SSL/m-p/54830#M13916</guid>
      <dc:creator>yyakovlev</dc:creator>
      <dc:date>2015-03-12T14:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect hangs when attempting to connect to MSSQL using SSL (ssl enforced on database server)</title>
      <link>https://community.splunk.com/t5/Security/DB-Connect-hangs-when-attempting-to-connect-to-MSSQL-using-SSL/m-p/54831#M13917</link>
      <description>&lt;P&gt;@splunkIT Thanks again!! this worked, now I can go have fun on the farm. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(\__/)
(='.'=)
(")_(")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 13 Mar 2015 17:40:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/DB-Connect-hangs-when-attempting-to-connect-to-MSSQL-using-SSL/m-p/54831#M13917</guid>
      <dc:creator>Chubbybunny</dc:creator>
      <dc:date>2015-03-13T17:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect hangs when attempting to connect to MSSQL using SSL (ssl enforced on database server)</title>
      <link>https://community.splunk.com/t5/Security/DB-Connect-hangs-when-attempting-to-connect-to-MSSQL-using-SSL/m-p/54832#M13918</link>
      <description>&lt;P&gt;@yyakovlev, please open a ticket with splunk support if you still need assistance on db connect.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2015 17:46:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/DB-Connect-hangs-when-attempting-to-connect-to-MSSQL-using-SSL/m-p/54832#M13918</guid>
      <dc:creator>splunkIT</dc:creator>
      <dc:date>2015-03-13T17:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect hangs when attempting to connect to MSSQL using SSL (ssl enforced on database server)</title>
      <link>https://community.splunk.com/t5/Security/DB-Connect-hangs-when-attempting-to-connect-to-MSSQL-using-SSL/m-p/54833#M13919</link>
      <description>&lt;P&gt;Hi, I'm experiencing this time-out connecting to a remote SQL 2014. I've tried the java options and arg.ssl=require but neither work. What can I try next? Thanks&lt;/P&gt;

&lt;P&gt;My java.conf&lt;/P&gt;

&lt;P&gt;[java]&lt;BR /&gt;
home = C:\Program Files\Java\jre1.8.0_45&lt;BR /&gt;
options = -Djsse.enableCBCProtection=false&lt;/P&gt;</description>
      <pubDate>Thu, 07 May 2015 09:31:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/DB-Connect-hangs-when-attempting-to-connect-to-MSSQL-using-SSL/m-p/54833#M13919</guid>
      <dc:creator>chrisproud</dc:creator>
      <dc:date>2015-05-07T09:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect hangs when attempting to connect to MSSQL using SSL (ssl enforced on database server)</title>
      <link>https://community.splunk.com/t5/Security/DB-Connect-hangs-when-attempting-to-connect-to-MSSQL-using-SSL/m-p/54834#M13920</link>
      <description>&lt;P&gt;One quick fix to the statement above, you might want to add the region to this option entry:&lt;/P&gt;

&lt;P&gt;options = -Xmx256m -Dfile.encoding=UTF-8 -server -Djsse.enableCBCProtection=false -Duser.language=en -&lt;STRONG&gt;Duser.region=us&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2015 15:24:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/DB-Connect-hangs-when-attempting-to-connect-to-MSSQL-using-SSL/m-p/54834#M13920</guid>
      <dc:creator>amiracle</dc:creator>
      <dc:date>2015-05-21T15:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect hangs when attempting to connect to MSSQL using SSL (ssl enforced on database server)</title>
      <link>https://community.splunk.com/t5/Security/DB-Connect-hangs-when-attempting-to-connect-to-MSSQL-using-SSL/m-p/54835#M13921</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I spend a whole day trying to connect using all of this above ( and more, i.e. digging through the canyons of the internet), but to no result. Problem was solved when I uninstalled  Java 1.8 and reinstalled Java 1.7.&lt;/P&gt;

&lt;P&gt;Works like a charm now.&lt;/P&gt;

&lt;P&gt;Btw I am using splunk 6.3. on Linux (Ubuntu). Using sqljdbc4.jar from microsoft (&lt;A href="https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&amp;amp;id=11774"&gt;https://www.microsoft.com/en-us/download/details.aspx?displaylang=en&amp;amp;id=11774&lt;/A&gt;) to connect to MS SQL server 12.0.2000&lt;/P&gt;

&lt;P&gt;Java.conf:&lt;/P&gt;

&lt;P&gt;[java]&lt;BR /&gt;
home = /usr/lib/jvm/default-java/jre&lt;BR /&gt;
options = -Xmx256m -Dfile.encoding=UTF-8 -Djsse.enableCBCProtection=false -server -Duser.language=en -Duser.region=&lt;/P&gt;</description>
      <pubDate>Thu, 19 Nov 2015 16:21:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/DB-Connect-hangs-when-attempting-to-connect-to-MSSQL-using-SSL/m-p/54835#M13921</guid>
      <dc:creator>pwesterbeek</dc:creator>
      <dc:date>2015-11-19T16:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect hangs when attempting to connect to MSSQL using SSL (ssl enforced on database server)</title>
      <link>https://community.splunk.com/t5/Security/DB-Connect-hangs-when-attempting-to-connect-to-MSSQL-using-SSL/m-p/54836#M13922</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm getting below error for MS SQL connection,&lt;/P&gt;

&lt;P&gt;Encountered the following error while trying to save: Splunkd daemon is not responding: ("Error connecting to /servicesNS/admin/dbx/dbx/databases: ('The read operation timed out',)",)&lt;/P&gt;

&lt;P&gt;can please help for this&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jun 2016 17:08:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/DB-Connect-hangs-when-attempting-to-connect-to-MSSQL-using-SSL/m-p/54836#M13922</guid>
      <dc:creator>avisatna</dc:creator>
      <dc:date>2016-06-16T17:08:27Z</dc:date>
    </item>
  </channel>
</rss>

