Installation

Splunk Web Server SSL Access to Search Engine using v9.2.x

Ken_Taylor
Engager

Hi, 

I have been working for a day or so on getting this to work. 

Here is my web.conf file configuration 

[settings]
httpport = 443
loginBackgroundImageOption = custom
loginCustomBackgroundImage = search:logincustombg/Hub_Arial.jpg

enableSplunkWebSSL = true
privKeyPath = /opt/splunk/share/splunk/certs/decrypted-xxx_2025_wc.key
serverCert = /opt/splunk/share/splunk/certs/splunk-wc-xxx-com.pem

the key file is the decrypted certificate, the server cert is the server cert, the intermediate and root from godaddy g2. 

I am currently running splunk 9.2.x 

I am not finding a quick how to to complete this task and I am working if someone could give me a hand. 

I am using Wireshark off the firefox browser and sometimes I see the client request but never see the server request. 

I am not doing this from the command line or the web server, I am updating the files and restarting splunkd. 

Thanks in advance for your assistance.  Please let me know if there are any questions.  

Labels (1)
Tags (1)
0 Karma

Tom_Lundie
Contributor

Hi,

There could be a few things going on here.

I would hazard a guess that you're running Splunk as a non-root user trying to bind to port 443 which is a privileged-port. Check if Splunk is listening on 443/TCP:

 

 

ss -tlp

 

 

Also, check for web related messages under:

$SPLUNK_HOME/bin/splunk status
And UiHttpListener entries in /opt/splunk/var/log/splunk/splunkd.log.

If this is indeed your problem, I suggest that you use different port such as 8443. You could also try to allow Splunk to bind to the system ports, you will need to research how to do this securely for your environment.

If Splunk is listening on 443, start working your way out:

  • Are there any error entries in splunkd.log.
  • Can you curl it via local host

 

curl -kv https://localhost​

 

  • Are you dropping connections on the local FW?

 

firewall-cmd --list-all

 

  • Is there a routing issue / network firewall between your client browser and Splunk instance?
  • Is there an issue with client machine / browser?

Feel free to upload any relevant Splunkd.log entries, redacted appropriately to help troubleshooting.

 

 

 

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!

Event Series: Telemetry Pipeline Management

Balancing Scale and Spend: Gaining Control Over High-Volume Metrics in Splunk Observability Cloud As ...

Kick the Tires Before You Commit: A Hands-On Tour of the Splunk Observability Cloud ...

Evaluating an enterprise observability platform usually goes like this: fill out a form, get a free trial with ...

Deep insights, no barriers: Splunk Observability Cloud Free Edition

As software delivery cycles continue to accelerate, observability shouldn’t be a luxury — it should be a ...