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.
- In the CHGFTPA screen (press F4 to prompt this command), set the Allow secure sockets layer option to
*YES. The*ONLYoption also allows TLS FTP connections; however, it does not allow regular nonsecure connections. After you make the change, restart the FTP server withENDTCPSVR *FTPand thenSTRTCPSVR *FTP.
- 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
QHTTPSVRsubsystem must contain an ADMIN job. If the Admin server is not active, runSTRTCPSVR SERVER(*HTTP) HTTPSVR(*ADMIN)to start it. Open the Admin page athttp://<systemname or IP address>:2001/dcm.
- Click Open Certificate Store and choose the
*SYSTEMstore. Enter your store password when prompted. The person who created the*SYSTEMstore set this password. - 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.

- Select IBM i TCP/IP FTP Server and click Replace at the top or bottom of the screen.

- A green success message in the top right confirms that the certificate is assigned:

- Restart the FTP server application with
ENDTCPSVR *FTPand thenSTRTCPSVR *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.
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. - In DCM, click the filter button on the right and select Certificate Authority:

- Click + in the bottom right of the Certificate Authority tile, then click Export. If the certificate is locally signed,
LOCAL_CERTIFICATE_AUTHORITYis displayed:
- 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. - 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.
- 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.
- The client imports the CA into the application that is used for client-side FTP, and can then connect to the FTP server securely.
[{"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
Was this topic helpful?
Document Information
Modified date:
20 November 2026
UID
ibm16610369