Error with RelyingPartyResolverService on new v3 setup

Mark Cairney Mark.Cairney at ed.ac.uk
Wed Feb 10 11:56:16 EST 2016


Hi,

I've started looking at setting up a test v3 IdP from scratch and am in
the process of migrating config from an existing v2 IdP over to it. The
IdP starts up and displays the status page at /idp/status but
/idp/profile/Status; /idp/profile/Metadata/SAML produces a 404 error. I
spotted the following error in the logs which has me confused as I
haven't edited the relying-party.xml

Googling didn't help much- has anyone seen this behaviour?
I'm running Shib 3.2.1 With Tomcat 8.0.23 and Oracle Java 1.7.0_79 on
RHEL 6 64

2016-02-10 16:26:05,346 - WARN
[net.shibboleth.ext.spring.context.FilesystemGenericApplicationContext:487]
- Exception encountered during context initialization - cancelling
refresh attempt
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name
'net.shibboleth.idp.relyingparty.impl.DefaultRelyingPartyConfigurationResolver#0'
defined in file
[/opt/shibboleth-idp/system/conf/relying-party-system.xml]: Cannot
resolve reference to bean 'shibboleth.DefaultSecurityConfiguration'
while setting bean property 'defaultSecurityConfiguration'; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'shibboleth.DefaultSecurityConfiguration'
defined in file
[/opt/shibboleth-idp/system/conf/relying-party-system.xml]: Cannot
resolve reference to bean 'shibboleth.SigningConfiguration.SHA256' while
setting bean property 'signatureSigningConfiguration'; nested exception
is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'shibboleth.SigningConfiguration.SHA256' defined
in file [/opt/shibboleth-idp/system/conf/relying-party-system.xml]:
Cannot resolve reference to bean 'shibboleth.DefaultSigningCredential'
while setting bean property 'signingCredentials'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'shibboleth.DefaultSigningCredential': FactoryBean threw
exception on object creation; nested exception is
java.lang.IllegalArgumentException: unknown object in getInstance:
org.bouncycastle.asn1.DERApplicationSpecific
	at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'shibboleth.DefaultSecurityConfiguration'
defined in file
[/opt/shibboleth-idp/system/conf/relying-party-system.xml]: Cannot
resolve reference to bean 'shibboleth.SigningConfiguration.SHA256' while
setting bean property 'signatureSigningConfiguration'; nested exception
is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'shibboleth.SigningConfiguration.SHA256' defined
in file [/opt/shibboleth-idp/system/conf/relying-party-system.xml]:
Cannot resolve reference to bean 'shibboleth.DefaultSigningCredential'
while setting bean property 'signingCredentials'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'shibboleth.DefaultSigningCredential': FactoryBean threw
exception on object creation; nested exception is
java.lang.IllegalArgumentException: unknown object in getInstance:
org.bouncycastle.asn1.DERApplicationSpecific
	at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'shibboleth.SigningConfiguration.SHA256'
defined in file
[/opt/shibboleth-idp/system/conf/relying-party-system.xml]: Cannot
resolve reference to bean 'shibboleth.DefaultSigningCredential' while
setting bean property 'signingCredentials'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'shibboleth.DefaultSigningCredential': FactoryBean threw
exception on object creation; nested exception is
java.lang.IllegalArgumentException: unknown object in getInstance:
org.bouncycastle.asn1.DERApplicationSpecific
	at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'shibboleth.DefaultSigningCredential':
FactoryBean threw exception on object creation; nested exception is
java.lang.IllegalArgumentException: unknown object in getInstance:
org.bouncycastle.asn1.DERApplicationSpecific
	at
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175)
Caused by: java.lang.IllegalArgumentException: unknown object in
getInstance: org.bouncycastle.asn1.DERApplicationSpecific
	at org.bouncycastle.asn1.ASN1Sequence.getInstance(Unknown Source)
2016-02-10 16:26:05,357 - ERROR
[net.shibboleth.utilities.java.support.service.AbstractReloadableService:181]
- Service 'shibboleth.RelyingPartyResolverService': Initial load failed
net.shibboleth.utilities.java.support.service.ServiceException:
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name
'net.shibboleth.idp.relyingparty.impl.DefaultRelyingPartyConfigurationResolver#0'
defined in file
[/opt/shibboleth-idp/system/conf/relying-party-system.xml]: Cannot
resolve reference to bean 'shibboleth.DefaultSecurityConfiguration'
while setting bean property 'defaultSecurityConfiguration'; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'shibboleth.DefaultSecurityConfiguration'
defined in file
[/opt/shibboleth-idp/system/conf/relying-party-system.xml]: Cannot
resolve reference to bean 'shibboleth.SigningConfiguration.SHA256' while
setting bean property 'signatureSigningConfiguration'; nested exception
is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'shibboleth.SigningConfiguration.SHA256' defined
in file [/opt/shibboleth-idp/system/conf/relying-party-system.xml]:
Cannot resolve reference to bean 'shibboleth.DefaultSigningCredential'
while setting bean property 'signingCredentials'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'shibboleth.DefaultSigningCredential': FactoryBean threw
exception on object creation; nested exception is
java.lang.IllegalArgumentException: unknown object in getInstance:
org.bouncycastle.asn1.DERApplicationSpecific
	at
net.shibboleth.ext.spring.service.ReloadableSpringService.doReload(ReloadableSpringService.java:334)
Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name
'net.shibboleth.idp.relyingparty.impl.DefaultRelyingPartyConfigurationResolver#0'
defined in file
[/opt/shibboleth-idp/system/conf/relying-party-system.xml]: Cannot
resolve reference to bean 'shibboleth.DefaultSecurityConfiguration'
while setting bean property 'defaultSecurityConfiguration'; nested
exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'shibboleth.DefaultSecurityConfiguration'
defined in file
[/opt/shibboleth-idp/system/conf/relying-party-system.xml]: Cannot
resolve reference to bean 'shibboleth.SigningConfiguration.SHA256' while
setting bean property 'signatureSigningConfiguration'; nested exception
is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'shibboleth.SigningConfiguration.SHA256' defined
in file [/opt/shibboleth-idp/system/conf/relying-party-system.xml]:
Cannot resolve reference to bean 'shibboleth.DefaultSigningCredential'
while setting bean property 'signingCredentials'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'shibboleth.DefaultSigningCredential': FactoryBean threw
exception on object creation; nested exception is
java.lang.IllegalArgumentException: unknown object in getInstance:
org.bouncycastle.asn1.DERApplicationSpecific
	at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'shibboleth.DefaultSecurityConfiguration'
defined in file
[/opt/shibboleth-idp/system/conf/relying-party-system.xml]: Cannot
resolve reference to bean 'shibboleth.SigningConfiguration.SHA256' while
setting bean property 'signatureSigningConfiguration'; nested exception
is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'shibboleth.SigningConfiguration.SHA256' defined
in file [/opt/shibboleth-idp/system/conf/relying-party-system.xml]:
Cannot resolve reference to bean 'shibboleth.DefaultSigningCredential'
while setting bean property 'signingCredentials'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'shibboleth.DefaultSigningCredential': FactoryBean threw
exception on object creation; nested exception is
java.lang.IllegalArgumentException: unknown object in getInstance:
org.bouncycastle.asn1.DERApplicationSpecific
	at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'shibboleth.SigningConfiguration.SHA256'
defined in file
[/opt/shibboleth-idp/system/conf/relying-party-system.xml]: Cannot
resolve reference to bean 'shibboleth.DefaultSigningCredential' while
setting bean property 'signingCredentials'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'shibboleth.DefaultSigningCredential': FactoryBean threw
exception on object creation; nested exception is
java.lang.IllegalArgumentException: unknown object in getInstance:
org.bouncycastle.asn1.DERApplicationSpecific
	at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'shibboleth.DefaultSigningCredential':
FactoryBean threw exception on object creation; nested exception is
java.lang.IllegalArgumentException: unknown object in getInstance:
org.bouncycastle.asn1.DERApplicationSpecific
	at
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175)
Caused by: java.lang.IllegalArgumentException: unknown object in
getInstance: org.bouncycastle.asn1.DERApplicationSpecific
	at org.bouncycastle.asn1.ASN1Sequence.getInstance(Unknown Source)
2016-02-10 16:26:05,360 - INFO
[net.shibboleth.utilities.java.support.service.AbstractReloadableService:183]
- Service 'shibboleth.RelyingPartyResolverService': Continuing to poll
configuration

-- 
/****************************

Mark Cairney
ITI Enterprise Services
Information Services
University of Edinburgh

Tel: 0131 650 6565
Email: Mark.Cairney at ed.ac.uk
PGP: 0x435A9621

*******************************/

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://shibboleth.net/pipermail/users/attachments/20160210/af21675a/attachment.sig>


More information about the users mailing list