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
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?