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
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!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...