Also, try removing
cas.authn.ldap[0].providerClass=org.ldaptive.provider.unboundid.UnboundIDProvider

I recall I was using this once, then removed it after an upgrade.

On Thursday, January 6, 2022 at 5:27:22 AM UTC-6 hakim yahiaoui wrote:

> Hi,
>
> I try to install a version 6.4 (apereo overlay with gradle).
>
> When i set the ldaps (636) configuration, the application does not start 
> with netty errors :
>
> [2022-01-06 12:13:23] [info] #011at 
> io.netty.channel.DefaultChannelPipeline.callHandlerAdded0(DefaultChannelPipeline.java:609)
>  
> ~[netty-transport-4.1.65.Final.jar:4.1.65.Final]
> [2022-01-06 12:13:23] [info] #011... 22 more
> [2022-01-06 12:13:23] [info] #033[1;31m2022-01-06 12:13:22,482 ERROR 
> [org.ldaptive.transport.netty.NettyConnection] - <Connection open failed 
> for 
> org.ldaptive.transport.netty.NettyConnection@1411228055::ldapUrl=[org.ldaptive.LdapURL@-1714799616::scheme=ldaps,
>  
> hostname=ldap-test.xxxxx, port=636, baseDn=null, attributes=null, 
> scope=null, filter=null, inetAddress=null], isOpen=false, connectTime=null, 
> connectionConfig=[org.ldaptive.ConnectionConfig@1966714934::ldapUrl=ldaps://ldap-test.xxxxxxx:636,
>  
> connectTimeout=PT5S, responseTimeout=PT5S, reconnectTimeout=PT2M, 
> autoReconnect=true, 
> autoReconnectCondition=org.ldaptive.ConnectionConfig$$Lambda$1322/0x0000000840978840@27be85ef,
>  
> autoReplay=true, 
> sslConfig=[org.ldaptive.ssl.SslConfig@1049244395::credentialConfig=[org.ldaptive.ssl.X509CredentialConfig@188732873::trustCertificates=file:/etc/cas/certldap.crt,
>  
> authenticationCertificate=null, authenticationKey=null], 
> trustManagers=null, 
> hostnameVerifier=org.ldaptive.ssl.DefaultHostnameVerifier@48d72a79, 
> enabledCipherSuites=null, enabledProtocols=null, 
> handshakeCompletedListeners=null, handshakeTimeout=PT1M], 
> useStartTLS=false, 
> connectionInitializers=[org.ldaptive.BindConnectionInitializer@464174685::bindDn=cn=xxxxxxxxxxxx
>  
> , bindSaslConfig=null, bindControls=null], 
> connectionStrategy=org.ldaptive.ActivePassiveConnectionStrategy@70579b55, 
> connectionValidator=null, transportOptions={}], channel=null>#033[m
> [2022-01-06 12:13:23] [info] org.ldaptive.ConnectException: 
> io.netty.channel.StacklessClosedChannelException
>
> Here is my configuration :
> cas.authn.accept.users=
>
> cas.authn.ldap[0].providerClass=org.ldaptive.provider.unboundid.UnboundIDProvider
> cas.authn.ldap[0].type=AUTHENTICATED
> cas.authn.ldap[0].ldap-url=ldaps://XXXXX:636
> cas.authn.ldap[0].base-dn=dc=XXXXX,dc=fr
> cas.authn.ldap[0].subtreeSearch=true
> cas.authn.ldap[0].search-filter=uid={user} 
> cas.authn.ldap[0].bind-dn=XXXXX
> cas.authn.ldap[0].bind-credential=XXXXX
> cas.authn.ldap[0].trustCertificates=file:/etc/cas/certldap.crt
>
> Can anybody help me please ? Am i missing a parameter ?
>
> Regards
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/440d2849-40d2-4029-9af4-fbac20b66dd4n%40apereo.org.

Reply via email to