Security

Issue with Splunk server not starting after configuring TLS

ArgyTheo
New Member

 

Subject: Issue with Splunk server not starting after configuring TLS

Description:

I'm encountering an issue with my Splunk server after configuring TLS. Here's a summary of the steps I've taken:

  1. Placed the certificate files (cert.pem, cacert.pem, key.pem) in the directory: /opt/splunk/etc/auth/mycerts/.
    1. Modified the /opt/splunk/etc/system/local/server.conf file with the following configurations:
      ⁠[sslConfig]
      enableSplunkdSSL = true
      sslVersions = tls1.2,tls1.3
      serverCert = /opt/splunk/etc/auth/mycerts/cert.pem
      sslRootCAPath = /opt/splunk/etc/auth/mycerts/cacert.pem
      sslKeysfile = /opt/splunk/etc/auth/mycerts/key.pem
       
  2. After restarting the Splunk server using the command ./splunk restart, the following messages were displayed:
    ⁠Starting splunk server daemon (splunkd)...
    Done 
    Waiting for web server at http://127.0.0.1:8000 to be available....
    WARNING: web interface does not seem to be available!
     

Additionally, when checking the status with ./splunk status, the result is: splunkd is not running.

Could someone assist me in troubleshooting this issue? I'm unsure why the Splunk server is not starting properly after enabling TLS.

Thank you for your help!

 
 
 
 
 
Labels (1)
Tags (1)
0 Karma

inventsekar
SplunkTrust
SplunkTrust

Hi @ArgyTheo 

>>> WARNING: web interface does not seem to be available!

1) looks like the 8000 port is not available. pls check if that port is being used by some other processes 

2) check the top command for any Splunk processes that are running 

3) Maybe the old process id still running and binding that port number 8000, if its ok, try to do a system restart itself. 

4) pls check the splunkd.log for more details. 

5) are these certs you self generated or third party generated

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!

Get Agentic with Splunk Lantern: Connect to Cisco Cloud Control, Transform ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

July Community Events: Master ITSI 5.0 & Automate Splunk

Struggling with alert fatigue or feeling like you're spending more time on infrastructure maintenance than ...

New Release of Federated Search: Bringing Splunk Analytics to More of Your Data

Organizations today are generating more data than ever and storing it across cloud object stores, data lakes, ...