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!

Deep Dive: Accelerate threat investigation with Splunk’s AI Assistant in Security

AI is one of the biggest topics in the market today, and for security teams, its value goes far beyond the ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Detection Engineering Office Hours: Real-World Troubleshooting & Q&A

[REGISTER HERE] This thread is for the Community Office Hours session on Detection Engineering Office Hours: ...