Support Questions

Find answers, ask questions, and share your expertise

How to redirect Ambari http to https page?

avatar
Expert Contributor

I have setup https for Ambari. It works good, but I have a problem with redirecting. When I try http url, I see an error that page is not available. The page works fine when I try https url. Is there any way to redirect Ambari http url to https?

1 ACCEPTED SOLUTION

avatar
Super Collaborator

Hi @Mateusz Grabowski,

The quick solution is to use the apache web server to redirect the requests to https (documentation with examples can be found here) -this approach is external to ambari and no need to make any configuration changes at ambari level.

however, there must be a inherent way to handle with jetty by modifying the ambari configuration, similar discussion for NiFi can be found at following thread.

https://community.hortonworks.com/questions/63171/nifi-admin-question-redirect-http-to-https.html

Hope this helps !!

View solution in original post

1 REPLY 1

avatar
Super Collaborator

Hi @Mateusz Grabowski,

The quick solution is to use the apache web server to redirect the requests to https (documentation with examples can be found here) -this approach is external to ambari and no need to make any configuration changes at ambari level.

however, there must be a inherent way to handle with jetty by modifying the ambari configuration, similar discussion for NiFi can be found at following thread.

https://community.hortonworks.com/questions/63171/nifi-admin-question-redirect-http-to-https.html

Hope this helps !!