How to Disable FTP SSLV2 Apache

If you are using the Apache FtpServer script to automate your file transfer protocol (FTP) server, then there are various configurations you can change to suit your specification. The standard default FtpServer configuration script enables SSLv2 for secure file transfer protocol. This protocol is not supported with many older computers, however, so if you want to disable it, you can edit your server script file.

Instructions

    • 1

      Open the FtpServer configuration file on your server. The name will depend on your individual setup. Open this file in Notepad.

    • 2

      Locate the the code that begins "SSLConfigurationFactory" and remove all lines of code with SSL in them, such as:

      // define SSL configuration

      SslConfigurationFactory ssl = new SslConfigurationFactory();

      ssl.setKeystoreFile(new File("src/test/resources/ftpserver.jks"));

      ssl.setKeystorePassword("password");

      // set the SSL configuration for the listener

      factory.setSslConfiguration(ssl.createSslConfiguration());

      factory.setImplicitSsl(true);

    • 3

      Remove the code and save your page.

Related Searches:

References

Comments

Related Ads

Featured