You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Bhaskar Maddala (JIRA)" <ji...@apache.org> on 2009/05/05 17:32:30 UTC

[jira] Commented: (DIRSERVER-1328) External Keystore Fails: invalid property 'certificatePassword'

    [ https://issues.apache.org/jira/browse/DIRSERVER-1328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706067#action_12706067 ] 

Bhaskar Maddala commented on DIRSERVER-1328:
--------------------------------------------

I pulled down the 1.5.4 tagged version from svn and LdapService and LdapsInitializer are missing support for both certificatePassword and keystore (also nbTcpThread, but I did not need it). Attached a diff file that includes the changes. Tested by replacing the ldap protocol jar in 1.5.4 distribution with the one I created. 

> 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
>
>
> 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.