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

查看:288
本文介绍了全局禁用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';

有必要重新启动密钥斗篷

It is necessary to restart keycloak

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

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