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

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
0 Karma
Get Updates on the Splunk Community!

Index This | Divide 100 by half. What do you get?

November 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

❄️ Celebrate the season with our December lineup of Community Office Hours, Tech Talks, and Webinars! ...

Splunk and Fraud

Watch Now!Watch an insightful webinar where we delve into the innovative approaches to solving fraud using the ...