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!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...