Why IdP v3.2.1 wants 'certificateTrust' instead of my 'certificateTrust1'?

Marco Malavolti marco.malavolti at garr.it
Sun Jun 5 05:21:47 EDT 2016


Hi to all,

Today I wanted connect 2 openLDAP to my IDP but I met this strange, I 
think, error:

1) idp-process.log

Caused by: org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name 'bindConnectionConfig1' defined in file 
[/opt/shibboleth-idp/conf/authn/ldap-3-authn-config.xml]: Cannot resolve 
reference to bean 'sslConfig1' while setting bean property 'sslConfig'; 
nested exception is 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean 
named 'certificateTrust' is defined
         at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
Caused by: 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean 
named 'certificateTrust' is defined

### certificateTrust has been replaced with certificateTrust1 ###

2) ldap-3-authn-config.xml:

     <!-- Connection Configuration -->
     <bean id="connectionConfig1" class="org.ldaptive.ConnectionConfig" 
abstract="true" p:ldapUrl="%{idp.authn.LDAP.ldapURL.1}"
         p:useStartTLS="%{idp.authn.LDAP.useStartTLS.1:true}"
         p:useSSL="%{idp.authn.LDAP.useSSL.1:false}"
         p:connectTimeout="%{idp.authn.LDAP.connectTimeout.1:3000}"
         p:sslConfig-ref="sslConfig1" />

     <alias name="%{idp.authn.LDAP.sslConfig.1:certificateTrust1}" 
alias="sslConfig1" />

     <bean id="certificateTrust1" class="org.ldaptive.ssl.SslConfig">
         <property name="credentialConfig">
             <bean parent="shibboleth.X509ResourceCredentialConfig" 
p:trustCertificates="%{idp.authn.LDAP.trustCertificates.1:undefined}" />
         </property>
     </bean>

Someone can help me to find the error? I don't see it...


Cheers,

-- 
Marco Malavolti
Consortium GARR
Via dei Tizii, 6 - 00185 Roma
Mobile: 3316083639
Skype: marco.mala


More information about the users mailing list