directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Lécharny <elecha...@gmail.com>
Subject Re: starting apacheDS embedded instance with SSL support
Date Sun, 29 Jan 2017 01:42:28 GMT


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


Mime
View raw message