全局禁用 https keycloak [英] Globally disable https keycloak

查看:43
本文介绍了全局禁用 https keycloak的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

部署在 AWS 上,我不想通过隧道连接到盒子并打开浏览器来禁用它.

The deployment is on AWS and I do not want to tunnel to the box and open a browser to disable it.

似乎存在一个配置:"ssl-required":"none" 可以放在 keycloak-server.json 文件中,但我不确定在哪个对象下.我已经在领域"下尝试过,但没有运气.

There seems to exist a configuration: "ssl-required":"none" that can be placed in the keycloak-server.json file, but I'm not sure under which object. I've tried under "realm" and by itself with no luck.

我不想在适配器级别禁用它,它需要全局,那么 "ssl-required":"none" 去哪里了,或者 ssh/https 怎么可能全局禁用?

I do not want to disable it at the adapter level, it needs to be globally, so where does the "ssl-required":"none" go, or how can ssh/https be disabled globally?

(另外,我知道在生产中不推荐这样做.)

(Also, I understand this is not recommended in production.)

推荐答案

在主"领域,通过登录选项卡.将需要 SSL"属性更改为无.

In the "master" realm, over login tab. Change 'Require SSL' property to none.

如果keycloak不能本地访问,并且配置了数据库例如Postgres,则执行下面的SQL语句.

If you can not access locally to keycloak and it is configured with a database for instance Postgres, then execute the following SQL sentence.

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

需要重启keycloak

It is necessary to restart keycloak

这篇关于全局禁用 https keycloak的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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