}
public void addLdaps(final String keystorePath, final String keystorePasswd) throws Exception {
Transport ldaps = new TcpTransport(LDAPS_PORT);
ldaps.enableSSL(true);
ldapServer.addTransports(ldaps);
ldapServer.setKeystoreFile(keystorePath);
ldapServer.setCertificatePassword(keystorePasswd);
}