Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 0 down vote accepted

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

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.