Splunk Search

DB Connect does not work when enableSplunkdSSL=false

yitzarad
Path Finder

Hi.

For some reasons, I turned off SSL for Splunk REST API. Everything is fine, except the Splunk DB Connect app.

jbridge is failing to start, after the SSL change:

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
  • Did I miss a config options for dbx app, which sets SSL to false?
  • If there's no such options, is this case a known issue?
  • Any suggested work around?

lukejadamec
Super Champion

According to the documentation, EnableSplunkdSSL=true is a mandatory configuration setting.

From: http://docs.splunk.com/Documentation/DBX/1.0.11/DeployDBX/Installtheconnector
Configure Splunk DB Connect

"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:

[sslConfig]

enableSplunkdSSL = true"

0 Karma

yitzarad
Path Finder

hi.
a new version of dbx (1.1) was released, but this constraint is still alive.

won't this issue be fix sometime? is there any significant rationale for this?

0 Karma

araitz
Splunk Employee
Splunk Employee

I was able to reproduce and opened DBX-195. I will update here when I have more information.

yitzarad
Path Finder

Hi. do you have any time estimation for this to be solved and officially released?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2026-2027 SplunkTrust is officially open. If ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...