SAML证书更新后出现Spring throwing错误

时间:2019-01-13 21:53:20

标签: saml spring-saml

我有一个使用SAML SSO的运行良好的Spring Security Web应用程序。客户端(IdP)更改了他们的证书。我已将证书和CA证书更新到我的keystore.jks。我将正确重定向到IdP,登录并正确重定向回我的应用程序。那时我正在日志中获取这些内容:

Attempting to validate signature using key from supplied credential (validate) (SignatureValidator.java:54)
Creating XMLSignature object (buildSignature) (SignatureValidator.java:90)
Validating signature with signature algorithm URI: http://www.w3.org/2000/09/xmldsig#rsa-sha1 (validate) (SignatureValidator.java:64)
Validation credential key algorithm 'RSA', key instance class 'sun.security.rsa.RSAPublicKeyImpl' (validate) (SignatureValidator.java:65)
Signature validated with key from supplied credential (validate) (SignatureValidator.java:70)
SSL negotiation with xxxxxx using candidate credential was successful (verifySignature) (BaseSignatureTrustEngine.java:148)
Successfully verifiServer certificate verify failed: signer not foundidate) (BaseSignatureTrustEngine.java:101)
Attempting to establish trust of KeyInfo-derived credential (validateConnected to HTTPS on 34.196.133.252)
Failed to validate untrusted credential against trusted key (validate) (ExplicitKeyTrustEvaluator.java:95
org.opensaml.xml.validation.ValidationException: Signature did not validate against the credential's key

所以看起来有些东西正在验证中,但是我不明白为什么它失败了。我使用keytool仔细检查了所有的CA。

0 个答案:

没有答案