我收到一条消息,说我已经在我的CentOS机器上成功安装了FreeIPA,但是当我尝试从浏览器登录时,收到此消息。

我的主机名是mike.imagine
所以我输入https://mike.imagine.com/ipa/ui/并得到“ 400 Bad Request” Flipping BS

最佳答案

确保根据Centos版本的版本关闭防火墙。

systemctl stop iptables


您应该看到以下状态消息

[sample@centos ~]$ sudo systemctl status iptables
â— iptables.service - IPv4 firewall with iptables
   Loaded: loaded (/usr/lib/systemd/system/iptables.service; disabled; vendor preset: disabled)
   Active: inactive (dead) since Tue 2017-08-08 14:41:06 EDT; 3 weeks 1 days ago
 Main PID: 10890 (code=exited, status=0/SUCCESS)

Aug 08 14:38:01 systemclt systemd[1]: Starting IPv4 firewall with iptables...
Aug 08 14:38:01 systemclt iptables.init[10890]: iptables: Applying firewall rules: [  OK  ]
Aug 08 14:38:01 systemclt systemd[1]: Started IPv4 firewall with iptables.
Aug 08 14:41:06 systemclt systemd[1]: Stopping IPv4 firewall with iptables...
Aug 08 14:41:06 systemclt iptables.init[11013]: iptables: Setting chains to policy ACCEPT: filter [  OK  ]
Aug 08 14:41:06 systemclt iptables.init[11013]: iptables: Flushing firewall rules: [  OK  ]
Aug 08 14:41:06 systemclt iptables.init[11013]: iptables: Unloading modules: [  OK  ]
Aug 08 14:41:06 systemclt systemd[1]: Stopped IPv4 firewall with iptables.

关于linux - 在CentOS上安装FreeIPA时出错,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/45553198/

10-15 11:50