All Apps and Add-ons

Encryption on ports 9997 and 8089

damucka
Builder

Hello,

I have a question concerning encryption.
- Is the log transmission over the port 9997 per default encrypted?
- The same for the port 8089, if I use it to access the Splunk from Python over the 8089, is the data encrypted per default?

Kind Regards,
Kamil

Tags (1)
0 Karma
1 Solution

harsmarvania57
Ultra Champion
0 Karma

damucka
Builder

Hello @harsmarvania57

Thank you for the prompt answer. It helped to clarify and prepare the encryption for the forwarder --> indexer log transfer.
With the second question I still would need a help. If I connect to the Splunk using the splunk-python-sdk like below:

import sys
import splunklib.client as client

HOST = "splunk.mo.sap.corp"
PORT = 8089
USERNAME = "XXX"
PASSWORD = "YYY"
#searchQuery = "SSS"


# Create a Service instance and log in 
service = client.connect(
    host=HOST,
    port=PORT,
    username=USERNAME,
    password=PASSWORD)

...

Would the communication over port 8089 be encrypted in this case?

Kind Regards,
Kamil

0 Karma

harsmarvania57
Ultra Champion

If you look at "Type of Exchange" -> "Distributed search" in that splunk document it says on splunkd (Which means port 8089) encryption is enabled by default but cert authentication is not enabled by default and due to this we can say that this connection is not encrypted if you don't have correct certificate on client.

When you don't have correct certificate chain present on client side, it will try to encrypt connection when you connect from client to server but by default splunk will strictly not check certificate validation and you can connect to splunkd and that communication is not encrypted as per my knowledge.

0 Karma
Get Updates on the Splunk Community!

Detecting Brute Force Account Takeover Fraud with Splunk

This article is the second in a three-part series exploring advanced fraud detection techniques using Splunk. ...

Buttercup Games: Further Dashboarding Techniques (Part 9)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Buttercup Games: Further Dashboarding Techniques (Part 8)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...