Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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 https://issues.apache.org/jira/browse/DIRSTUDIO-908

share|improve this answer

Your Answer

 
discard

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.