IBM Support

Configuring TLS FTP Server using Digital Certificate Manager

Troubleshooting


Problem

This document describes how to configure the IBM i FTP server to use TLS.

Resolving The Problem

These steps assume that you already accessed Digital Certificate Manager (DCM) and either purchased a third-party certificate or created your own certificate to assign to the FTP server.

  1. In the CHGFTPA screen (press F4 to prompt this command), set the Allow secure sockets layer option to *YES. The *ONLY option also allows TLS FTP connections; however, it does not allow regular nonsecure connections. After you make the change, restart the FTP server with ENDTCPSVR *FTP and then STRTCPSVR *FTP. image-20220812075947-1
  2. Open the Digital Certificate Manager application to assign a certificate to the FTP server application ID. Ensure that the HTTP Admin server is active and that you can access it. The QHTTPSVR subsystem must contain an ADMIN job. If the Admin server is not active, run STRTCPSVR SERVER(*HTTP) HTTPSVR(*ADMIN) to start it. Open the Admin page at http://<systemname or IP address>:2001/dcm. image-20220804102841-1
  3. Click Open Certificate Store and choose the *SYSTEM store. Enter your store password when prompted. The person who created the *SYSTEM store set this password.
  4. After you sign in, a list of server and client certificates is displayed. Locate the certificate tile that you want to assign to the FTP server, click + in the bottom right of the tile, and then click Assign. image-20220804113256-5
  5. Select IBM i TCP/IP FTP Server and click Replace at the top or bottom of the screen. image-20220804103546-3
  6. A green success message in the top right confirms that the certificate is assigned: image-20220804103709-4
  7. Restart the FTP server application with ENDTCPSVR *FTP and then STRTCPSVR *FTP. Check NETSTAT option 3 to verify that the FTP secure port is listening. Press F13 to sort by local port and F14 to display the local port so that you can find port 990, the secure FTP listener. image-20220812080033-3

    Anyone who connects to the FTP server securely needs the certificate authority (CA) of the certificate that secures the FTP server. You can export the CA and send it to the people who require it.
  8. In DCM, click the filter button on the right and select Certificate Authority: image-20220812080106-4
  9. Click + in the bottom right of the Certificate Authority tile, then click Export. If the certificate is locally signed, LOCAL_CERTIFICATE_AUTHORITY is displayed: image-20220804113803-7
  10. Under Location, click File.  

    NOTE:  You can also download the certificate directly to your PC by selecting Downloads, entering the .cer or .crt file name, choosing Download Certificate, and then clicking Download.
  11. Enter the path in the Path field, then click Export. The file is written to the IFS, so include both the path and the file name. For example, to export to your home directory in the IFS, specify /home/username/cert.cer, where username is your user profile directory and cert.cer is the certificate file name. You can use .txt, .cer, .crt, or almost any extension. Note: Windows recognizes the .cer extension as a certificate, so it is usually the best choice. image-20220804114034-8
  12. Send the file to the person who requires it. If you do not have software that sends the file directly from IBM i, move the file to your PC first.
  13. The client imports the CA into the application that is used for client-side FTP, and can then connect to the FTP server securely.

{ "data": [ { "Article Type":"Troubleshooting (DB560)", "Category":"Communications / FTP", "ARM Category":"Communications > FTP", "Keywords":"FTP; TLS; SSL; Digital Certificate Manager; DCM; CHGFTPA; secure FTP; certificate authority; port 990; IBM i", "Predicate":"USAGE", "Classifier":"CONFIGURE" } ] }

[{"Type":"MASTER","Line of Business":{"code":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000000CLbAAM","label":"Communications-\u003EFTP"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.6.0;7.5.0;7.4.0"}]

Historical Number

522844747

Document Information

Modified date:
20 November 2026

UID

ibm16610369