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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...