[
https://issues.apache.org/jira/browse/DIRSERVER-2262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emmanuel Lecharny resolved DIRSERVER-2262.
------------------------------------------
Resolution: Fixed
This file is not anymore used. We don't store certificates in the server
anymore.
> The LdapServer.loadkeyStore() method do the work twice if there is no
> KeyStore defined
> --------------------------------------------------------------------------------------
>
> Key: DIRSERVER-2262
> URL: https://issues.apache.org/jira/browse/DIRSERVER-2262
> Project: Directory ApacheDS
> Issue Type: Improvement
> Affects Versions: 2.0.0.AM25
> Reporter: Emmanuel Lecharny
> Priority: Major
> Fix For: 2.0.0.AM26
>
>
> When initializing the server, we call the {{loadkeyStore}} method to load the
> KeyStore. If there is none configured, we create a internal one that will be
> used to manage SSL/TLS communication.
> The thing is that before initializing the {{KeyManagerFactory}}, we check the
> KeyStore, which generates a private key and a certificate. the following
> methods are called :
> o {{CoreKeyStoreSpi.engineLoad()}}
> o {{CoreKeyStoreSpi.engineAliases()}}
> o {{CoreKeyStoreSpi.engineIsKeyEntry()}}
> o {{CoreKeyStoreSpi.engineGetCertificateChain()}}
> o {{CoreKeyStoreSpi.engineGetKey()}}
> then :
> o {{CoreKeyStoreSpi.engineAliases()}}
> o {{CoreKeyStoreSpi.engineIsKeyEntry()}}
> o {{CoreKeyStoreSpi.engineGetKey()}}
> o {{CoreKeyStoreSpi.engineGetCertificateChain()}}
> o {{CoreKeyStoreSpi.getCertificate()}}
> We also fetch the admin user 4 times in the process...
> That could be simplified.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]