15.5. 配置 TLS/HTTPS
当服务器使用 HTTPS 时,请确保您的策略 enforcer 被配置为如下:
{ "truststore": "path_to_your_trust_store", "truststore-password": "trust_store_password" }
{
"truststore": "path_to_your_trust_store",
"truststore-password": "trust_store_password"
}
以上配置启用了 TLS/HTTPS 到授权客户端,从而可以使用 HTTPS 方案远程访问 Keycloak 服务器的红帽构建。
注意
强烈建议您在访问红帽构建的 Keycloak 服务器端点时启用 TLS/HTTPS。