我从https://github.com/vdenotaris/spring-boot-security-saml-sample获取了示例webapp,它正在运行文件。后来。我试图连接kennisnet登台环境。
Kennisnet详情
https://developers.wiki.kennisnet.nl/index.php?title=KNF:Hoofdpagina/en
我更新了可从此网址https://hub-s.entree.kennisnet.nl/openaselect/profiles/saml2/
下载的元数据我使用以下命令生成了smalKeyStore.jks
答案 0 :(得分:0)
将证书添加到JDK,以便您的应用程序可以从URL https://aselect-s.entree.kennisnet.nl/openaselect/profiles/saml2获取元数据。
这些是您需要填写的步骤:
使用以下命令将证书导入JDK / JRE:
keytool -keystore #path to java_home#/ lib / security / cacerts -importcert -alias #anything relevent#-file #path to certificate#
确保您的服务器使用相同的java_home导入证书,在导入之前验证证书中的主题名称,它必须是" CN = * .entree.kennisnet.nl" 强>