Red Hat Bugzilla – Bug 1466042
Accessing WebUI redirects to fqdn hostname
Last modified: 2017-07-28 11:41:09 EDT
Description of problem:
I have to NAT in to my network to access my idm server. When I setup port forwarding I should be able to port forward to idm.example.com:443 to access the webui and login. However, I get redirected to the FQDN:443 (removing the port) and that fqdn and port aren't routable on the external network.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Setup idm
2. Try accessing the web console using the ip address (ex. https://192.168.1.12:443)
redirects to https://idm.example.com/ipa/ui
should redirect to https://192.168.1.12:443/ipa/ui
This works fine using Ansible Tower and Satellite 6. I can access and login to the webui from an external network using port forwarding.
For external network you may need https://www.adelton.com/freeipa/freeipa-behind-proxy-with-different-name
This is an intended behavior. There is a redirection rule in /etc/httpd/conf.d/ipa-rewrite.conf which does it.
Without it Kerberos authentication may not work.
*** This bug has been marked as a duplicate of bug 1466014 ***