keycloak登录提示

At this point, you have two options; 1) Install HTTPS in Wildfly or 2) Tunnel via SSH into the remote machine and proxy your browser through it, go to the admin console and turn off the SSL requirement (Realm Settings -> Login -> Require SSL). This works because SSL is not required for local connections.

keycloak 用私有地址可以不使用ssl登录方式,如果用公网就需要用ssl登录方式。

解决方案:设置某realm不强制使用ssl

  • 启动:
1
./standalone.sh -b 0.0.0.0 -bmanagement 0.0.0.0
  • 添加账号
1
./add-user-keycloak -r master -u <> -p <>
  • 管理员登陆
1
./kcadm.sh config credentials --server http://localhost:8080/auth --realm master --user admin
  • 管理员设置某realm不强制使用ssl
1
./kcadm.sh update realms/master -s sslRequired=NONE