Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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