Do not default tha algorithm for KeyManager and TrustManager to SunX509
-----------------------------------------------------------------------

                 Key: FTPSERVER-273
                 URL: https://issues.apache.org/jira/browse/FTPSERVER-273
             Project: FtpServer
          Issue Type: Improvement
          Components: Core
    Affects Versions: 1.0.0-RC2
            Reporter: Sai Pullabhotla
            Priority: Minor
             Fix For: 1.0.0


The SSLConfigurationFactory class currently defaults the trustStoreAlgoritm and 
keyStoreAlgorithms to SunX509. This does not work on IBM's JVM unless user 
explicitly configures these parameters to IbmX509. Instead of defaulting to a 
hard coded value, SunX509, we should consider changing the code to use - 

KeyManagerFactory.getDefaultAlgorithm() and 
TrustManagerFactory.getDefaultAlgorithm(). 

So, if the "algorithm" attribute is not specified, create key and trust 
managers using the default algorithm used by the JVM. 

If we decide to do this, update the documentation as well. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to