Splunk Search

Encryption on the port 9997

damucka
Builder

Hello,

I have the following inputs.conf on my indexer:

[default]
host = mo-7ee963859.zone1.mo.sap.corp

[monitor:///var/log/messages]
sourcetype = syslog


#[splunktcp://9997]
#disabled = 0

######### SSL Configuration
[splunktcp-ssl://9997]

[SSL]
serverCert = $SPLUNK_HOME/etc/auth/server.pem
password = $1$ydTZu0KhCtct
rootCA = $SPLUNK_HOME/etc/auth/cacert.pem
#requireClientCert = false

When I restart splunk with the above, the port 9997 is not active / splunk does not listen on it (netstat -an | grep 9997). When I uncomment the "unencrypted version" in the above config and restart, the port 9997 pops up in the netstat list.

Can you please help?

Kind Regards,
Kamil

Tags (1)
0 Karma
1 Solution

harsmarvania57
Ultra Champion

As per inputs.conf spec file rootCA = $SPLUNK_HOME/etc/auth/cacert.pem is deprecated, do you have sslRootCAPath in server.conf ?

rootCA = <path>
* This setting is DEPRECATED.
* Do not use this setting. Use 'server.conf/[sslConfig]/sslRootCAPath' instead.
* Used only if 'sslRootCAPath' is unset.

password must be your certificate key password and first time you need to provide in plain text and after that when you restart splunk will automatically encrypt it.

View solution in original post

0 Karma

harsmarvania57
Ultra Champion

As per inputs.conf spec file rootCA = $SPLUNK_HOME/etc/auth/cacert.pem is deprecated, do you have sslRootCAPath in server.conf ?

rootCA = <path>
* This setting is DEPRECATED.
* Do not use this setting. Use 'server.conf/[sslConfig]/sslRootCAPath' instead.
* Used only if 'sslRootCAPath' is unset.

password must be your certificate key password and first time you need to provide in plain text and after that when you restart splunk will automatically encrypt it.

0 Karma

damucka
Builder

@harsmarvania57

Thank you.
It was my misunderstanding, I thought I can set my own password.
It helped.

Kind Regards,
Kamil

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!

Recap | Agentic Operations Start with Context: Build the Right Data Foundation

Agentic Operations Start with Context: Build the Right Data Foundation   By Courtney Wright, Product Marketing ...

Recap | Assisted, Augmented or Agentic? Choose Your Splunk Starting Point

Assisted, Augmented or Agentic? Choose Your Splunk Starting Point   By Courtney Wright, Product Marketing ...

Session 2 | Beyond the Thread: Operationalizing AI with Confidence

Session 2   Beyond the Thread: Operationalizing AI with Confidence    The true power of the Cisco Data Fabric ...