Spring Security SAML IdP Metadata Certificate and Signature

前端 未结 3 486
傲寒
傲寒 2021-01-22 14:51

I have looked at many questions including https://stackoverflow.com/a/25384924/1317559. I have the IdP metadata and certificate, but can\'t seem to get Spring so see it.

<
3条回答
  •  再見小時候
    2021-01-22 15:15

    The Spring SAML manual describes metadata trust verification in chapter 7.2.4. One option is to disable the trust check, or manually remove the signature XML from metadata. Just like you found out, the certificate to import to samlKeystore.jks is the one used to produce the metadata signature, not the signing/encryption certificates for specific SP or IDP entities.

提交回复
热议问题