“需要HTTPS"以管理员身份登录Keycloak时 [英] "HTTPS required" while logging in to Keycloak as admin

查看:1081
本文介绍了“需要HTTPS"以管理员身份登录Keycloak时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在JBOSS AS 7.1.1服务器中使用Keycloak (version 1.0.4.Final).该服务器位于Amazon AWS上.

I am using Keycloak (version 1.0.4.Final) in JBOSS AS 7.1.1 server. The server is on Amazon AWS.

我能够用keycloak启动jboss服务器.按下URL时,我可以看到密钥斗篷默认屏幕-ServerIP:8080/auth

I am able to start the jboss server with keycloak. i can see the keycloak default screen while hitting the URL - ServerIP:8080/auth

但是当我单击Administration Console链接进入登录屏幕时.我收到一个页面说-HTTPS required

But when i am clicking on the Administration Consolelink to go to the login screen. I am getting a page saying - HTTPS required

服务器位于AWS上,更改为"ssl-required" : "none", 常规适配器配置中的设置没有帮助.

The server is on AWS, changing to "ssl-required" : "none", in General Adapter Config has not helped.

如何解决此问题?

我在keycloak-1.2.0.Beta1版本中没有遇到这个问题.

I was not getting this issue in keycloak-1.2.0.Beta1 version.

推荐答案

如果要在您的领域中禁用它,并且无法使用UI,请直接在数据库上执行此操作:

If you want to disable it for your realm and have no possibility to use UI, do it directly on the database:

update REALM set ssl_required='NONE' where id = 'master';

注意-重新启动密钥斗篷生效

Note - Restart keycloak for effect

这篇关于“需要HTTPS"以管理员身份登录Keycloak时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆