Ute Schröder created DIRSERVER-1841:
---------------------------------------
Summary: keystore password cannot be set
Key: DIRSERVER-1841
URL: https://issues.apache.org/jira/browse/DIRSERVER-1841
Project: Directory ApacheDS
Issue Type: Bug
Components: ldap
Affects Versions: 2.0.0-M11
Environment: MAC OS-X, java version "1.6.0_45"
Reporter: Ute Schröder
it looks like I cannot specify a keystore password for the keystore that
contains the SSL Certificate I want to use with my ldap server. There's only an
option to speficy the certificate password:
LdapServer.setCertificatePassword(String)
but none for the keystore password.
Also, in LdapServer.java, the keystore is always loaded with null as the
keystore password (LdapServer.loadKeyStore() method).
I can circumvent this problem by specifying keystore and password on the
command line/in the system properties like this:
-Djavax.net.ssl.keyStore=mykeystore.ks -Djavax.net.ssl.keyStorePassword=secret
but since this overrides the VM-wide keystore settings, it would be better if
it could be set it specifically for the LdapServer.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira