6.3. 配置 TLS 协议
默认情况下,Red Hat build of Keycloak 不会启用弃用的 TLS 协议。如果您的客户端只支持已弃用的协议,请考虑升级客户端。但是,作为临时工作方法,您可以通过运行以下命令来启用已弃用的协议:
bin/kc.[sh|bat] start --https-protocols=<protocol>[,<protocol>]
bin/kc.[sh|bat] start --https-protocols=<protocol>[,<protocol>]
要允许 TLSv1.2,请使用如下命令:kc .sh start --https-protocols=TLSv1.3,TLSv1.2
。