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!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...