13.2. 为 mTLS 使用专用信任存储
默认情况下,红帽构建的 Keycloak 使用 System Truststore 来验证证书。详情请参阅 配置可信证书。
如果需要为 mTLS 使用专用信任存储,您可以通过运行以下命令来配置此信任存储的位置:
bin/kc.[sh|bat] start --https-trust-store-file=/path/to/file --https-trust-store-password=<value>
bin/kc.[sh|bat] start --https-trust-store-file=/path/to/file --https-trust-store-password=<value>