I am using Apache Directory Studio for testing LDAP services for an application. I am lost in configuring the LDAP with SSL.

So far I've tried:

  1. Started ApacheDS with port 10389 (ldap://) and also on 10636 (ldaps://)

Here's the screenshot of ldap config in Apache Directory studio: enter image description here

Then I followed the instructions as mentioned here: How to enable SSL

I generated the keys using keytool:

C:\LDAP\keys>keytool -genkey -keyalg "RSA" -dname "
mojo,cn=com" -alias mojo -keystore mojo1.ks -storepass secret -validity 3650

and then I am using this key in Apache Directory Studio (and restarting the LDAP server), I end up with this error: enter image description here

Can someone tell what I am doing wrong? Is there something I am missing?

1 Answer 1


Well, the issue is with Apache Directory Studio:

In the path use / instead of \ in the path.

For instance, if key is present in C:\keys.ks then it should be entered as C:/keys.ks

This is not a good user experience.

P.S: this issue is reported at https://issues.apache.org/jira/browse/DIRSTUDIO-908

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .