1,keycloak 用私有地址可以不使用ssl登录方式,如果用公网就需要用ssl登录方式。
解决方案:
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.
参考:https://stackoverflow.com/questions/30622599/https-required-while-logging-in-to-keycloak-as-admin
1)wildfly configures https
https://www.jianshu.com/p/04f244af49f5
2)非ssl 访问
实操:./standalone.sh -b 0.0.0.0 -bmanagement 0.0.0.0 --启动起来
./add-user-keycloak -r master -u <> -p <>
./kcadm.sh config credentials --server http://localhost:8080/auth --realm master --user admin
./kcadm.sh update realms/master -s sslRequired=NONE
2,无法远程连接keycloak的解决办法
https://blog.csdn.net/java_mike/article/details/77524928
3,删除创建的realm
./kcadm.sh delete realms/springboot -r springboot
---springboot --realmname