vdenotaris / spring-boot-security-saml-sample

SBS3 — A sample SAML 2.0 Service Provider built on Spring Boot.
https://sbs3.vdenotaris.com
Apache License 2.0
564 stars 351 forks source link

CurrentUserHandlerMethodArgumentResolverTest is failing #72

Closed dontsu closed 5 years ago

dontsu commented 5 years ago

Thanks for the great article and the code example I am following the steps provided but when I run mvn clean install, the CurrentUserHandlerMethodArgumentResolverTest is failing with the following stracktrace:

Running com.vdenotaris.spring.boot.security.saml.web.core.CurrentUserHandlerMethodArgumentResolverTest 15:08:44.662 [main] ERROR org.springframework.security.saml.trust.MetadataCredentialResolver - PKIX path construction failed for untrusted credential: [subjectName='CN=idp.ssocircle.com']: unable to find valid certification path to requested target 15:08:44.762 [main] ERROR org.springframework.security.saml.trust.MetadataCredentialResolver - PKIX path construction failed for untrusted credential: [subjectName='CN=idp.ssocircle.com']: unable to find valid certification path to requested target 15:08:44.846 [main] ERROR org.springframework.security.saml.trust.MetadataCredentialResolver - PKIX path construction failed for untrusted credential: [subjectName='CN=idp.ssocircle.com']: unable to find valid certification path to requested target 15:08:44.973 [main] ERROR org.springframework.security.saml.trust.MetadataCredentialResolver - PKIX path construction failed for untrusted credential: [subjectName='CN=idp.ssocircle.com']: unable to find valid certification path to requested target 15:08:44.976 [main] ERROR org.opensaml.saml2.metadata.provider.HTTPMetadataProvider - Error retrieving metadata from https://idp.ssocircle.com/idp-meta.xml javax.net.ssl.SSLPeerUnverifiedException: SSL peer failed hostname validation for name: null

Is this still working for you?

dontsu commented 5 years ago

No worries :D, just reached the next point about the old certificate.