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
Communicator

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!

Leveraging Detections from the Splunk Threat Research Team & Cisco Talos

  Now On Demand  Stay ahead of today’s evolving threats with the combined power of the Splunk Threat Research ...

New in Splunk Observability Cloud: Automated Archiving for Unused Metrics

Automated Archival is a new capability within Metrics Management; which is a robust usage & cost optimization ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...