[
https://issues.apache.org/jira/browse/DIRSERVER-1328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707319#action_12707319
]
Bhaskar Maddala commented on DIRSERVER-1328:
--------------------------------------------
I pulled down the 1.5.4 version of the release and replace the protocol-ldap
jar with the one I attached above threw in the certificatePassword and
keystoreFile setting and verified that the ldap server was using the
certificate I specified
you should take a look at the instructions from here
http://directory.apache.org/apacheds/1.5/33-how-to-enable-ssl.html
My ldapService
<ldapService id="ldapsService"
enabled="true"
ipPort="10636"
enableLdaps="true"
certificatePassword="secret"
keystoreFile="/home/bhaskar/apacheds_1.5.4/zanzibar.ks">
<directoryService>#directoryService</directoryService>
<socketAcceptor>#socketAcceptor</socketAcceptor>
</ldapService>
I think you have not replace the protocol-ldap jar or replaced it at the wrong
location, i.e. not in the location being used for the classpath when launching
the directory server
> External Keystore Fails: invalid property 'certificatePassword'
> ---------------------------------------------------------------
>
> Key: DIRSERVER-1328
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1328
> Project: Directory ApacheDS
> Issue Type: Bug
> Environment: Windows Server 2003
> Reporter: ironside
> Attachments: 1328.diff, apacheds-protocol-ldap-1.5.4.jar
>
>
> I was trying to enable SSL with external keystore (SSL works without the
> external keystore using Directory Studio; my client requires the
> certificate). I'm using a standard install of Directory (out of the box).
> 1. Created keystore according to documentation.
> 2. Setup external keystore and modified Server.xml
> 3. Unable to restart server due to the following error:
> invalid property 'certificatePassword' of bean class
> [org.apache.directory.server.ldap.LdapService]: No property
> 'certificatePassword' found
> If I remove this property, but leave my keystoreFile property in, I also get
> this error for 'keystoreFile'. Below is my ldapservice def:
> <ldapService id="ldapsService"
> enabled="true"
> ipPort="10636"
> keystoreFile="C:/Program Files/Apache Directory
> Server/instances/default/conf/AGS93-LDAPS.ks"
> certificatePassword="secret"
> enableLdaps="true">
> <directoryService>#directoryService</directoryService>
> <socketAcceptor>#socketAcceptor</socketAcceptor>
> </ldapService>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.