Bug 50928

Summary: [patch] JSSESocketFactory - wrong password in KeyManagerFactory.init
Product: Tomcat 7 Reporter: Sebb <sebb>
Component: CatalinaAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: trunk   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Attachments: Patch to fix problem

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.