I am trying to use ftps and I am getting invalid keystore format when using jdk6. I have attempted to use my own keytool generated certificate as well as the ftpserver.jks file that is in the Apache FtpServer distribution. Here is the section of code that is failing (pretty much taken directly from documentation on FtpServer page):
serverFactory = new FtpServerFactory(); factory = new ListenerFactory(); factory.setPort(2221); // define SSL configuration SslConfigurationFactory ssl = new SslConfigurationFactory(); ssl.setKeystoreFile(new File("ftpserver.jks")); ssl.setKeystorePassword("password"); // set the SSL configuration for the listener factory.setSslConfiguration(ssl.createSslConfiguration()); <---- fails here factory.setImplicitSsl(true); Any help would be appreciated. Thanks, Matt ________________________________ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.