Security

Redirect http to https page

hmahendrakumar
Path Finder

We are trying to enable https(SSL) for splunk web.
While trying the settings I found that the old page or link (with http prefix) doesn't get redirected to the new page(with https prefix). The old link just goes to a blank page.
How can this be achieved ?

Tags (1)

dwaddle
SplunkTrust
SplunkTrust

Splunk only listens on HTTP OR HTTPS - not both at the same time. To work around this, you could install a 3rd party HTTP server and have it listen on the HTTP port and provide redirects into Splunkweb.

If this functionality is important to, you can always submit an enhancement request with Splunk support asking for the ability to redirect from HTTP to HTTPS.

dokaas_2
Path Finder

Seems like Splunk should incorporate that feature; however, as far as I can tell they haven't.  My work around has been to:

1.  Run Splunk https on port 8443.

2.  Install lighttp light web server that redirects http port 80 to https port 8443.

3.  Run firewalld and redirect port 443 to port 8443.

0 Karma

vdubgeek
New Member

Would this be possible if we're redirecting from HTTP:8000 to HTTPS:8000? It seems that if splunkweb has bound to 8000 for SSL, that it wouldn't be possible to have a 3rd party web server bind to 8000 as well for non-ssl. Is that not the case?

0 Karma

hmahendrakumar
Path Finder

Ya. I saw that part about either http or https port. I just want to make sure before looking at other options outside of splunk.

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...