Deployment Architecture

JavaBridge server failed to start - java.security.NoSuchAlgorithmException: SSL

splunkIT
Splunk Employee
Splunk Employee

JavaBridge Server/Client communication fails with the following error (stack):

2013-11-12 17:26:36,294 INFO Checking for obsolete java libraries in /opt/splunk/etc/apps/dbx/bin/lib
2013-11-12 17:26:36,295 INFO Started JavaBridgeServer PID=10643
2013-11-12 17:26:36,708 ERROR Java process returned error code 1! Error: Initializing Splunk context... Environment: SplunkEnvironment{SPLUNK_HOME=/opt/splunk,SPLUNK_DB=/opt/splunk/var/lib/splunk} Configuring Log4j... Exception in thread "main" java.lang.ExceptionInInitializerError at com.splunk.env.SplunkContext.createRestService(SplunkContext.java:148) at com.splunk.env.SplunkContext.initialize(SplunkContext.java:106) at com.splunk.bridge.JavaBridgeServer.main(JavaBridgeServer.java:34) Caused by: com.splunk.rest.SplunkdException: Error while disabling SSL certificate verification: java.security.NoSuchAlgorithmException: SSL SSLContext not available at com.splunk.rest.Splunkd.createSSLFactory(Splunkd.java:346) at com.splunk.rest.Splunkd.(Splunkd.java:51) ... 3 more Caused by: java.security.NoSuchAlgorithmException: SSL SSLContext not available at sun.security.jca.GetInstance.getInstance(GetInstance.java:142) at javax.net.ssl.SSLContext.getInstance(SSLContext.java:125) at com.splunk.rest.Splunkd.createSSLFactory(Splunkd.java:342) ... 4 more
2013-11-12 17:26:36,708 ERROR Command output: None

Tags (1)

araitz
Splunk Employee
Splunk Employee

Right now, we do not support TLS, and it is correct that SSL is required. We've filed DBX-332 to track this enhancement request and have linked to this question.

lukejadamec
Super Champion

What version of dbx are you running? The later versions require usessl=true be set.

0 Karma

splunkIT
Splunk Employee
Splunk Employee

At the DB Connect source code level it seems the developer is attempting to create an SSL connection as.

SSLContext sc = SSLContext.getInstance("SSL");

My org doesn’t allow SSL so the communication fails between the java bridge server and client. It has to use TLS for it to work on our systems.

SSLContext sc = SSLContext.getInstance("TLS");

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!

What’s New in Splunk AI: Volume 02

Welcome to the second edition of “What’s New in Splunk AI” where we look at the latest and greatest updates, ...

Splunk App Dev Quarterly Roundup: AI, Agents, and Innovation!

Another quarter, another wave of innovation. From complex integrations to pushing the limits ...

Value Insights: Now Generally Available in the CMC

Organizations are under pressure to move faster, control cost, expand AI adoption, and prove value with more ...