-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to open Web UI through host ip address #629
Comments
This is not container related. You need to understand what FreeIPA Web UI deals with, though. FreeIPA uses Kerberos authentication and it also requires HTTPS connection. Kerberos authentication is done by a client (browser in the case of accessing Web UI). The client first requests a Kerberos service ticket from the KDC. It does so by constructing a service Kerberos principal from the target name and a well-known Kerberos service name for that service. For browsers accessing web sites, this would be Since the connection goes over HTTPS, browser will attempt to validate the TLS certificate a server (FreeIPA web UI) would present as well. TLS certificates that IPA CA issues don't include IP addresses in them as dNSAddress SAN extensions, so browsers will complain that TLS connection cannot be validated as well. Both of these requirements can be satisfied, sure, by additional configuration:
However, this is not something we (FreeIPA team) would ever support. |
If the OP is okay using login + password for the WebUI authentication, this request looks like https://www.adelton.com/freeipa/freeipa-behind-proxy-with-different-name to me, even if we never tried it with just an IP address in those investigations. But I would agree that a much easier approach would be to just make the |
Also note that port 443 is absolutely required. There are multiple places in FreeIPA tools where it is hardcoded. For example (and this list is not exhausting):
|
I started the container using following
compose.yml
my host ip address is
192.168.1.100
, I want to access the web ui thoughhttp://192.168.1.100:180
orhttps://192.168.1.100:1443
, but it always redirect me tohttps://ipa.example.com
I check the
ipa-data/etc/httpd/conf.d/ipa-rewrite.conf
, content as followingI want to know how to config so that I can access the
ipa services
(Directory, Web UI) through host ip address, just like many other apps running in docker containerThe text was updated successfully, but these errors were encountered: