net.shibboleth.utilities.java.support.service.ServiceException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.SigningCredentials': Cannot resolve reference to bean 'shibboleth.DefaultSigningCredential' while setting bean property 'sourceList' with key [0]; 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: Error reading certificate

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • ShibbolethIdP3 - もわの書斎
    via by Unknown author,
    • net.shibboleth.utilities.java.support.service.ServiceException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.SigningCredentials': Cannot resolve reference to bean 'shibboleth.DefaultSigningCredential' while setting bean property 'sourceList' with key [0]; 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: Error reading certificate at net.shibboleth.ext.spring.service.ReloadableSpringService.doReload(ReloadableSpringService.java:334) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'shibboleth.SigningCredentials': Cannot resolve reference to bean 'shibboleth.DefaultSigningCredential' while setting bean property 'sourceList' with key [0]; 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: Error reading certificate 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: Error reading certificate at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:175) Caused by: java.lang.IllegalArgumentException: Error reading certificate at org.cryptacular.util.CertUtil.readCertificate(CertUtil.java:245) Caused by: java.security.cert.CertificateException: Could not parse certificate: java.io.IOException: Illegal header: -----BEGIN CERTIFICATE----- at sun.security.provider.X509Factory.engineGenerateCertificate(X509Factory.java:108) Caused by: java.io.IOException: Illegal header: -----BEGIN CERTIFICATE----- at sun.security.provider.X509Factory.checkHeaderFooter(X509Factory.java:644)
    No Bugmate found.