[英]Configure Spring Boot integrate Keycloak with SSL
運行 Keycloak 的 SSL 證書不在您的 Spring 應用運行的 JRE 的 cacerts 文件中。
您可以查看該小型回購協議以獲取腳本
然后,確保在運行 Keycloak 時使用相同的證書。 這里有兩個配置選項,具體取決於您手頭的證書類型:
https-certificate-file=/path/to/certfile.pem
https-certificate-key-file=/path/to/keyfile.pem
https-key-store-file=C:/Users/ch4mp/.ssh/self_signed.jks
https-key-store-password=change-me
我已經解決了我的問題。 我導入的是NGINX和域使用的證書,不是Keycloak服務器的證書。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.