jndi - AuthenticationNotSupportedException when using TLS

Hi

I have a strange problem and no idea how to solve it or why it does not work ...

I am using an OpenLDAP as an authentication backend and Jetty as servlet container, which acts as web client for the OpenLDAP server.

I can access, read, write to the OpenLDAP server without using TLS. I can't complain about it, it really works great.

But I want to use a TLS encrypted connection, if the ldapserver and webclient are not on the same machine, so I chose using TLS via StartTLS.

I always get following exception:

javax.naming.AuthenticationNotSupportedException: [LDAP: error code 8 - modifications require authentication];remaining name ...

Do I have to configure anything else at the ldap server or java code? Why doesn't it use the same credentials it uses without TLS?

thanks for your help

regards

Peter

[878 byte] By [peter.gastingera] at [2007-11-27 3:29:32]
# 1
btw, if I use SSL over port 636 instead of TLS it works ... I can read and write content.But I prefer TLS via StartTLS ... any hints? anyone?
peter.gastingera at 2007-7-12 8:32:32 > top of Java-index,Core,Core APIs...