Deployment Architecture

DB Connect encryption

RicoSuave
Builder

Does the splunk DB connect app encrypt communication between splunk and the Database(s) it's connected to?

Tags (1)
1 Solution

ziegfried
Influencer

Unfortunately there is no definitive answer for this question. DB Connect uses JDBC drivers to connect to databases. Some of those JDBC drivers do support encryption, some don't. Some of them encrypt the connection by default, others don't.

Here's a quick list from the top of my head:

  • Microsoft SQL Server: SSL encryption is requested by default by the JDBC driver - so it depends on the server settings whether the connection is actually encrypted. It can be enforced to encrypt the connection, though.
  • Oracle: The JDBC driver supports multiple connection encryption levels (REJECTED, ACCEPTED, REQUESTED, REQUIRED). Encrypted connection are accepted by default (if enabled on the database server side)
  • MySQL: No encryption by default - has to be enabled manually (both on the server and on the Splunk side)
  • PostgreSQL: No encryption by default - has to be enabled manually (both on the server and on the Splunk side)

To summarize: In most cases encryption can be enabled but mostly requires some configuration on both sides (server and client).

If you have questions on how to enable encryption on the Splunk side for specific database types, make sure to ask them here on Answers.

Here's an answer that deals with PostgreSQL and SSL: http://splunk-base.splunk.com/answers/68899/dbx-connection-to-postgressql-error-ssl-off

View solution in original post

ziegfried
Influencer

Unfortunately there is no definitive answer for this question. DB Connect uses JDBC drivers to connect to databases. Some of those JDBC drivers do support encryption, some don't. Some of them encrypt the connection by default, others don't.

Here's a quick list from the top of my head:

  • Microsoft SQL Server: SSL encryption is requested by default by the JDBC driver - so it depends on the server settings whether the connection is actually encrypted. It can be enforced to encrypt the connection, though.
  • Oracle: The JDBC driver supports multiple connection encryption levels (REJECTED, ACCEPTED, REQUESTED, REQUIRED). Encrypted connection are accepted by default (if enabled on the database server side)
  • MySQL: No encryption by default - has to be enabled manually (both on the server and on the Splunk side)
  • PostgreSQL: No encryption by default - has to be enabled manually (both on the server and on the Splunk side)

To summarize: In most cases encryption can be enabled but mostly requires some configuration on both sides (server and client).

If you have questions on how to enable encryption on the Splunk side for specific database types, make sure to ask them here on Answers.

Here's an answer that deals with PostgreSQL and SSL: http://splunk-base.splunk.com/answers/68899/dbx-connection-to-postgressql-error-ssl-off

splunkIT
Splunk Employee
Splunk Employee

The connection is via JDBC; so I would assume it depends on the channel between the JDBC driver and the database itself.

Get Updates on the Splunk Community!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...