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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...