Setting Up SSL for the FTP Agent

To set up SSL, get the x509 certificate from the application server, convert it to binary if it is text, and import the certificate into the cacerts file of the JRE.

SSL authentication is not a FTP Agent function, it is provided by the JVM infrastructure.

To successfully connect using SSL to a service:

  1. Get the x509 certificate from the application server (FTPS server, HTTPS Web Service, etc.).
  2. If the certificate file is a text file, issue the following command:
  3. openssl x509 -in "<absolute path name for the certification file>" -out cert.der -outform DER

  4. Use the following command to import the certificate into the cacerts file of the JRE:
  5. keytool -import -v -alias serverCert -file cert.der -keystore "<path for the cacerts file for your JRE>"

See also:

Installing the FTP Agent