如何在 Keycloak 上禁用 HTTPS [英] How to disable HTTPS on Keycloak

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

问题描述

就像标题一样:如何在 Keycloak 上禁用 https 的要求?仅使用终端,因为我无法登录管理员面板,因为...没有 https.

Like in the title: How to disable the requirement of https on Keycloak? Using only the terminal, as I can't log in to the administrator panel, because... there's no https.

推荐答案

您可以在 Realm 设置的登录"选项卡中更改需要 SSL".选项是

You could change "Require SSL" in Realm settings, Login tab. The options are

外部请求

Keycloak 可以在没有 SSL 的情况下开箱即用,只要您坚持私有 IP 地址,如 localhost、127.0.0.1、10.0.x.x、192.168.x.x、和 172..16.x.x.如果您没有在服务器上配置 SSL/HTTPS或者您尝试从非私有 IP 地址通过 HTTP 访问 Keycloak你会得到一个错误.

Keycloak can run out of the box without SSL so long as you stick to private IP addresses like localhost, 127.0.0.1, 10.0.x.x, 192.168.x.x, and 172..16.x.x. If you don’t have SSL/HTTPS configured on the server or you try to access Keycloak over HTTP from a non-private IP adress you will get an error.

Keycloak 不需要 SSL.这真的应该只用于玩弄东西时的发展.

Keycloak does not require SSL. This should really only be used in development when you are playing around with things.

所有请求

Keycloak 要求所有 IP 地址都使用 SSL.

Keycloak requires SSL for all IP addresses.

可以在 Keycloak 管理控制台中配置每个领域的 SSL 模式.

The SSL mode for each realm can be configured in the Keycloak admin console.

这篇关于如何在 Keycloak 上禁用 HTTPS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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