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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...