Hi,
I try to run ftpserver with ssl with the ftpd-full.xml config.
But the xml seems not fit to the beans.
Had a look at the source, the setKeystoreFile expects a file name.
The mykeystore.jks file must be in the res/conf dir, I guess.
Maybe somebody could add a sample keystore file to the binary download.
<listeners>
<nio-listener name="default" port="2121" implicit-ssl="true"
idle-timeout="60" local-address="1.2.3.4">
<ssl>
<keystore file="mykeystore.jks" password="ftpkey"
key-password="ftpkey" />
</ssl>
Caused by: org.apache.ftpserver.FtpServerConfigurationException:
KeystoreFile must not be null or zero length
at
org.apache.ftpserver.ssl.SslConfigurationFactory.setKeystoreFile(SslConfigurationFactory.java:90)