<?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 does not work when enableSplunkdSSL=false in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/DB-Connect-does-not-work-when-enableSplunkdSSL-false/m-p/107347#M183355</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;

&lt;P&gt;For some reasons, I turned off SSL for Splunk REST API. Everything is fine, except the Splunk DB Connect app.&lt;/P&gt;

&lt;P&gt;jbridge is failing to start, after the SSL change:&lt;/P&gt;

&lt;PRE&gt;
DEBUG  Setting up java Environment: app=dbx, cfg_name=java, cfg_stanza=java, java_home=None
DEBUG  JAVA_HOME=C:\Program Files\Java\jre7
INFO   Checking for obsolete java libraries in C:\Program Files\Splunk\etc\apps\dbx\bin\lib
DEBUG  Starting JavaBridgeServer...
DEBUG  Executing (native) CMD C:\Program Files\Java\jre7\bin\java.exe -cp .....
       -Dsplunk.app.ctx=dbx com.splunk.bridge.JavaBridgeServer 1368
INFO   Started JavaBridgeServer PID=3868
DEBUG  win32 handler registered
ERROR  Java process returned error code 1! Error: initializing Splunk context...
       Exception in thread "main" com.splunk.config.SplunkConfigurationException:
       IO Error while reading configuration from Splunkd: javax.net.ssl.SSLException:
       Unrecognized SSL message, plaintext connection?
           at com.splunk.config.rest.RESTAdapter.request(RESTAdapter.java:195)
           at com.splunk.config.rest.RESTAdapter.readConfig(RESTAdapter.java:203)
           ...
           at com.splunk.env.SplunkContext.getConfigStanza(SplunkContext.java:313)
           at com.splunk.env.SplunkContext.initialize(SplunkContext.java:128)
           at com.splunk.bridge.JavaBridgeServer.main(JavaBridgeServer.java:34)
 ...
DEBUG  JavaBridgeServer terminated
&lt;/PRE&gt;

&lt;UL&gt;
&lt;LI&gt;Did I miss a config options for dbx app, which sets SSL to false?&lt;/LI&gt;
&lt;LI&gt;If there's no such options, is this case a known issue?&lt;/LI&gt;
&lt;LI&gt;Any suggested work around?&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Fri, 26 Jul 2013 10:18:20 GMT</pubDate>
    <dc:creator>yitzarad</dc:creator>
    <dc:date>2013-07-26T10:18:20Z</dc:date>
    <item>
      <title>DB Connect does not work when enableSplunkdSSL=false</title>
      <link>https://community.splunk.com/t5/Splunk-Search/DB-Connect-does-not-work-when-enableSplunkdSSL-false/m-p/107347#M183355</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;

&lt;P&gt;For some reasons, I turned off SSL for Splunk REST API. Everything is fine, except the Splunk DB Connect app.&lt;/P&gt;

&lt;P&gt;jbridge is failing to start, after the SSL change:&lt;/P&gt;

&lt;PRE&gt;
DEBUG  Setting up java Environment: app=dbx, cfg_name=java, cfg_stanza=java, java_home=None
DEBUG  JAVA_HOME=C:\Program Files\Java\jre7
INFO   Checking for obsolete java libraries in C:\Program Files\Splunk\etc\apps\dbx\bin\lib
DEBUG  Starting JavaBridgeServer...
DEBUG  Executing (native) CMD C:\Program Files\Java\jre7\bin\java.exe -cp .....
       -Dsplunk.app.ctx=dbx com.splunk.bridge.JavaBridgeServer 1368
INFO   Started JavaBridgeServer PID=3868
DEBUG  win32 handler registered
ERROR  Java process returned error code 1! Error: initializing Splunk context...
       Exception in thread "main" com.splunk.config.SplunkConfigurationException:
       IO Error while reading configuration from Splunkd: javax.net.ssl.SSLException:
       Unrecognized SSL message, plaintext connection?
           at com.splunk.config.rest.RESTAdapter.request(RESTAdapter.java:195)
           at com.splunk.config.rest.RESTAdapter.readConfig(RESTAdapter.java:203)
           ...
           at com.splunk.env.SplunkContext.getConfigStanza(SplunkContext.java:313)
           at com.splunk.env.SplunkContext.initialize(SplunkContext.java:128)
           at com.splunk.bridge.JavaBridgeServer.main(JavaBridgeServer.java:34)
 ...
DEBUG  JavaBridgeServer terminated
&lt;/PRE&gt;

&lt;UL&gt;
&lt;LI&gt;Did I miss a config options for dbx app, which sets SSL to false?&lt;/LI&gt;
&lt;LI&gt;If there's no such options, is this case a known issue?&lt;/LI&gt;
&lt;LI&gt;Any suggested work around?&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Fri, 26 Jul 2013 10:18:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/DB-Connect-does-not-work-when-enableSplunkdSSL-false/m-p/107347#M183355</guid>
      <dc:creator>yitzarad</dc:creator>
      <dc:date>2013-07-26T10:18:20Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect does not work when enableSplunkdSSL=false</title>
      <link>https://community.splunk.com/t5/Splunk-Search/DB-Connect-does-not-work-when-enableSplunkdSSL-false/m-p/107348#M183356</link>
      <description>&lt;P&gt;I was able to reproduce and opened DBX-195.  I will update here when I have more information.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2013 16:53:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/DB-Connect-does-not-work-when-enableSplunkdSSL-false/m-p/107348#M183356</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2013-07-26T16:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect does not work when enableSplunkdSSL=false</title>
      <link>https://community.splunk.com/t5/Splunk-Search/DB-Connect-does-not-work-when-enableSplunkdSSL-false/m-p/107349#M183357</link>
      <description>&lt;P&gt;Hi. do you have any time estimation for this to be solved and officially released?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Aug 2013 11:00:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/DB-Connect-does-not-work-when-enableSplunkdSSL-false/m-p/107349#M183357</guid>
      <dc:creator>yitzarad</dc:creator>
      <dc:date>2013-08-02T11:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect does not work when enableSplunkdSSL=false</title>
      <link>https://community.splunk.com/t5/Splunk-Search/DB-Connect-does-not-work-when-enableSplunkdSSL-false/m-p/107350#M183358</link>
      <description>&lt;P&gt;According to the documentation, EnableSplunkdSSL=true is a mandatory configuration setting.&lt;/P&gt;

&lt;P&gt;From: &lt;A href="http://docs.splunk.com/Documentation/DBX/1.0.11/DeployDBX/Installtheconnector"&gt;http://docs.splunk.com/Documentation/DBX/1.0.11/DeployDBX/Installtheconnector&lt;/A&gt;&lt;BR /&gt;
Configure Splunk DB Connect&lt;/P&gt;

&lt;P&gt;"Note: To run DB Connect successfully, splunkd HTTPS must be enabled. In the $SPLUNK_HOME/etc/system/default/server.conf configuration file, enableSplunkdSSL must be set to true: &lt;/P&gt;

&lt;P&gt;[sslConfig]&lt;/P&gt;

&lt;P&gt;enableSplunkdSSL = true"&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2013 00:48:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/DB-Connect-does-not-work-when-enableSplunkdSSL-false/m-p/107350#M183358</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-08-07T00:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: DB Connect does not work when enableSplunkdSSL=false</title>
      <link>https://community.splunk.com/t5/Splunk-Search/DB-Connect-does-not-work-when-enableSplunkdSSL-false/m-p/107351#M183359</link>
      <description>&lt;P&gt;hi.&lt;BR /&gt;
a new version of dbx (1.1) was released, but this constraint is still alive.&lt;/P&gt;

&lt;P&gt;won't this issue be fix sometime? is there any significant rationale for this?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2013 17:05:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/DB-Connect-does-not-work-when-enableSplunkdSSL-false/m-p/107351#M183359</guid>
      <dc:creator>yitzarad</dc:creator>
      <dc:date>2013-09-11T17:05:56Z</dc:date>
    </item>
  </channel>
</rss>

