I\'m trying to set up a SP based on \"spring-security-saml2-sample\", but when I deploy the WAR file on Tomcat I get the following exception:
Initialization of m
By default Spring SAML doesn't use the samlKeystore.jks
for verification of calls done with the HTTPMetadataProvider
. This means that you will need to import the certificate of the HTTPS endpoint https://dominio.com/fed/idp/metadata to your JDK (typically jre/lib/security/cacerts).
There's also another option. I've just pushed a commit which will allow you to use the samlKeystore.jks
also for these calls by including the following bean:
https
You will need to update to the latest trunk for the TLSProtocolSocketFactory
to be available.