[
https://issues.apache.org/jira/browse/DIRSERVER-1328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12707238#action_12707238
]
Alfonsas Stonis commented on DIRSERVER-1328:
--------------------------------------------
Thanks Bhaskar. Unfortunately this fix does not work. I still get error message:
jvm 1 | [15:16:35] ERROR [org.apache.directory.daemon.Bootstrapper] - Failed
on null.init(InstallationLayout, String[])
jvm 1 | org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'ldapsService' defined in URL
[file:/var/lib/apacheds-1.5.4/default/conf/server.xml]: Initialization of bean
failed; nested exception is org.springframework.beans.InvalidPropertyException:
Invalid property 'certificatePassword' of bean class
[org.apache.directory.server.ldap.LdapService]: No property
'certificatePassword' found
jvm 1 | Caused by:
jvm 1 | org.springframework.beans.InvalidPropertyException: Invalid property
'certificatePassword' of bean class
[org.apache.directory.server.ldap.LdapService]: No property
'certificatePassword' found
jvm 1 | at
org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:376)
jvm 1 | at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1105)
jvm 1 | at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:861)
jvm 1 | at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:421)
jvm 1 | at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
jvm 1 | at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
jvm 1 | at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
jvm 1 | at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
jvm 1 | at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)
jvm 1 | at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
jvm 1 | at
org.apache.xbean.spring.context.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:149)
jvm 1 | at
org.apache.xbean.spring.context.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:48)
jvm 1 | at org.apache.directory.server.Service.init(Service.java:60)
jvm 1 | at
org.apache.directory.daemon.Bootstrapper.callInit(Bootstrapper.java:151)
jvm 1 | at
org.apache.directory.daemon.TanukiBootstrapper.start(TanukiBootstrapper.java:51)
jvm 1 | at
org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:2788)
> 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.