That is not quite right, but I think it is due to a bug.
This code does work to startTLS
Collection<ExtendedOperationHandler> handlers =
new ArrayList<ExtendedOperationHandler>();
handlers.add(new StartTlsHandler());
ldapServer.setExtendedOperationHandlers(handlers);
-----Original Message-----
From: Harakiri [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 24, 2008 7:59 AM
To: [email protected]; [EMAIL PROTECTED]
Subject: Re: ApacheDS 1.52 Bad transition from state START_STATE, tag
0x80
Hi,
--- Emmanuel Lecharny <[EMAIL PROTECTED]> wrote:
> Another option would be to use StartTLS instead of
> Ldaps. It's much
> better, as you don't have to open 2 different port
> (389 for LDAP and 636
> for LDAPS). Can you give it a try ?
Im not quiet sure if i have done this for StartTLS
right :
ldapServer.setEnableLdaps(false)
ldapServer.addExtendedOperationHandler(new
StartTlsHandler());
ldapServer.start();
this should do the trick for TLS?
It doesnt start any SSL LDAP for me - only normal LDAP
on port 389 - what am i missing?
Thanks
________________________________________________________________________
____________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ