You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Vamsavardhana Reddy (JIRA)" <ji...@apache.org> on 2006/11/08 02:28:52 UTC

[jira] Closed: (GERONIMO-2280) FileKeystoreInstance.getKeyManager() fails when there is more than one privatekey in the store

     [ http://issues.apache.org/jira/browse/GERONIMO-2280?page=all ]

Vamsavardhana Reddy closed GERONIMO-2280.
-----------------------------------------

    Resolution: Fixed

Fixed in rev 472353 (branches\1.1) and rev 472359 (trunk).

> FileKeystoreInstance.getKeyManager() fails when there is more than one privatekey in the store
> ----------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-2280
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-2280
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 1.1
>            Reporter: Vamsavardhana Reddy
>         Assigned To: Vamsavardhana Reddy
>             Fix For: 1.1.2, 1.2
>
>         Attachments: GERONIMO-2280.patch
>
>
> FileKeystoreInstance.getKeyManager() fails when there is more than one privatekey in the store.
> Scenario 1:  The method will throw UnrecoverableKeyException if the all the private key entries in the keystore do not have the same password (as the entry of our interest).
> Scenario 2: Even if all the private key entries have the same password and the method returns a KeyManager, there is no control on which enrty will be used.
> To overcome this, a temporary keystore (I call it a SubKeystore) can be generated and initialized with the entry corresponding to the alias and used to init the KeyManagerFactory.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira