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!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...