https://issues.apache.org/bugzilla/show_bug.cgi?id=50640

           Summary: Keystore in AbstractEndpoint doesn't have to be a file
           Product: Tomcat 7
           Version: trunk
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Connectors
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: gerard-bo...@hotmail.com


Created an attachment (id=26540)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26540)
proposed patch

In my SSL Implementation for z/OS the keystore is in the RACF Database with
it's own inputstream and isn't a file as is assumed in the AbstractEndpoiint
class in setKeystorefile.

In my humble opinion there shouldn't be an assumption about an implementation
in AbstractEndpoint. 

The absolute path to the keystore is also calculated in getStore in
org.apache.tomcat.util.net.jsse.JSSESocketFactory:

keyStoreFile = new File(System.getProperty(
             Constants.CATALINA_BASE_PROP), path);

Is it maybe possible to remove the calculation of the absolute path in
AbstractEndpoint as I propose in my patch?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to