Le 27/01/2017 à 23:06, Sathyanarayan, Harish a écrit :
> Hi,
>
> I am running an embedded ApacheDS instance with SSL using the below code but
> am getting SSL handshake error, what am I missing? Pls advice.. thanks
What is the handshake error you get ?
have you tried runing the server using the addition parameter
-Djavax.net.debug=ssl:handshake:verbose ?
>
> ldapServer.setKeystoreFile("keystore.ks");
> ldapServer.setCertificatePassword("secret");
> ldapServer.loadKeyStore();
>
> ldapServer.addExtendedOperationHandler(new StartTlsHandler());
> ldap.setEnableSSL(true);
>
>
>
>
>
--
Emmanuel Lecharny
Symas.com
directory.apache.org