Security

Splunk SSL on ubuntu

spidergap
New Member

Hi,

I have a server from which I serve my site. On this server I have a wild card ssl certificate installed allowing me to have admin.mydomain.com and blog.mydomain.com setup to use ssl without hassle. I also currently have splunk running on this server over http through port 8000. I have found splunk invaluable, and would now like to better secure access to splunk by using ssl.

What is the best way to run splunk using ssl on my server at the address logs.mydomain.com? I realise this is kind of a two part question, one half forwarding, one half ssl. Will the fact that I am relying on my wildcard certificate change the mannor by which I will have to use ssl on splunk?

Thanks

Tags (2)
0 Karma

wfroning
Explorer

Hello spidergap,

SSL with a wildcard is no problem.

Use SSL (HTTPS) for secure access to Splunk Web

Sorry, but I don't have an answer for your virtual host question. I suppose you could enable mod_proxy on your server and proxy the requests to your splunk instance.

<VirtualHost logs.mydomain.com:443>

# Proxy Configurations
ProxyVia On

<Proxy *>
Order allow,deny
Allow from all
</Proxy>

ProxyPass / http://localhost:8000/
ProxyPassReverse / http://localhost:8000/
ProxyPassReverseCookieDomain foo.com bar.foo.com
ProxyPassReverseCookiePath / /
RequestHeader set REMOTE_USER %{REMOTE_USER}s

</VirtualHost>

If you are going to use the proxy, then you likely wouldn't enable SSL on splunk just on your Apache server. Make sure to firewall off port 8000 so you don't leave any non-SSL access available.

HTH,

0 Karma
Get Updates on the Splunk Community!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...

Data Management Digest – November 2025

  Welcome to the inaugural edition of Data Management Digest! As your trusted partner in data innovation, the ...