我收到一条消息,说我已经在我的 CentOS 机器上成功安装了 FreeIPA,但是当我尝试从浏览器登录时,我收到了这条消息。
我的主机名是 mike.imagine 所以我输入https://mike.imagine.com/ipa/ui/我得到“400 Bad Request” Flipping BS
我收到一条消息,说我已经在我的 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.