Commit e32fdd44 authored by Matija Obreza's avatar Matija Obreza
Browse files

Load keystore from test/resources (closes #13)

parent 5cae107c
......@@ -40,11 +40,11 @@ public class ApplicationConfig {
RepositoryFtpServer ftpServer = new RepositoryFtpServer();
ftpServer.setFtpPort(8021);
ftpServer.setUserManager(userManager());
ftpServer.setKeystorePath("ftpserver.jks");
ftpServer.setKeystorePath(getClass().getResource("/ftpserver.jks").getPath());
ftpServer.setKeystorePsw("genesys");
//external IP address
// ftpServer.setExternalAddress("127.0.0.1");
// external IP address
// ftpServer.setExternalAddress("127.0.0.1");
ftpServer.setPassivePorts("2300-2301");
return ftpServer;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment