Bug 50928 - [patch] JSSESocketFactory - wrong password in KeyManagerFactory.init
Summary: [patch] JSSESocketFactory - wrong password in KeyManagerFactory.init
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 7
Classification: Unclassified
Component: Catalina (show other bugs)
Version: trunk
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-14 09:53 UTC by Sebb
Modified: 2011-03-15 18:53 UTC (History)
0 users



Attachments
Patch to fix problem (978 bytes, patch)
2011-03-14 09:53 UTC, Sebb
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sebb 2011-03-14 09:53:51 UTC
Created attachment 26768 [details]
Patch to fix problem

JSSESocketFactory does not use the keyPass when calling KeyManagerFactory.init()

Attached patch fixes the error.

However, it might be better to fix up the handling of keyPass and keyStorePass defaults in the AbstractEndPoint super-class.

Patch also fixes a throw clause to ensure that the true cause of the exception is reported.
Comment 1 Mark Thomas 2011-03-15 18:53:50 UTC
Fixed in 7.0.x and will be included in 7.0.12 onwards.