9.6. 配置 TLS/HTTPS
当服务器使用 HTTPS 时,请确保您的策略强制器配置如下:
{ "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。