IBM Support

How To Disable TLS for the ADMIN HTTP Server and ADMIN1, ADMIN2, and ADMIN3 Application Servers

Troubleshooting


Problem

Describes how to manually disable TLS communications and enable HTTP-only communications for the ADMIN HTTP server and the ADMIN1, ADMIN2, and ADMIN3 application servers. Use this procedure when the server fails with error HTP8351 - Secure Sockets session failed to initialize successfully.

Symptom

None of the ADMIN server jobs stay active in the QHTTPSVR subsystem, or you experience connection problems when you access ports 2010, 2003, or 2007. When you review the ADMIN job log, the following message might be logged.

HTP8351 Diagnostic 10 QZSRAPR QHTTPSVR *STMT QZSRVSSL QHTTPSVR *STMT
From module . . . . . . . . : QZSRSNDM
From procedure . . . . . . : sendMessageToJobLog_CCSID
Statement . . . . . . . . . : 27
To module . . . . . . . . . : MOD_SSL
To procedure . . . . . . . : ssl_initializer
Statement . . . . . . . . . : 187
Message . . . . : Secure Sockets session failed to initialize successfully.
Cause . . . . . : Secure Sockets failed to initialize successfully.

When you connect to https://<server>:2010, https://<server>:2003/Navigator, https://<server>:2005/IDSWebApp, or https://<server>:2007/dcm, you might see a "Secure Connection Failed" error in your browser.

Cause

The TLS certificate assigned to the ADMIN application ID in the Digital Certificate Manager for i (DCM) *SYSTEM store has expired, or the ADMIN server TLS configuration has a problem.

Environment

IBM i OS

Resolving The Problem

IBM recommends that you manually disable the TLS configuration for the ADMIN HTTP server and the ADMIN1, ADMIN2, and ADMIN3 application servers, and then restart the ADMIN server so that you can re-enable its TLS configuration. Follow these steps:

  1. Manually edit the ADMIN HTTP server configuration file to disable or delete the TLS configuration:
    1. Run WRKLNK '/QIBM/UserData/HTTPA/admin/conf/admin-cust.conf'.
    2. Select option 2 to edit the file.
    3. You can either add a # character at the beginning of each line to disable the TLS configuration, or delete the contents of the file while leaving the file itself intact.  To delete all lines in the file, place DD in the CMD column on the first line and DD in the CMD column on the last line. Then press Enter. This will delete all lines between the two DD markers while preserving the file itself.
    4. Press F3 twice to save and exit.
    5. This is what the admin-cust.conf file would look like after removing all configuration lines.
  2. Start the ADMIN server:

    STRTCPSVR SERVER(*HTTP) HTTPSVR(*ADMIN)

    Wait for all ADMIN server jobs to start and for CPU utilization to drop to 0%. To view this, run WRKACTJOB SBS(QHTTPSVR).

  3. Open the IBM Web Administration for i console in a web browser at http://<server>:2001/HTTPAdmin.

    Sign in with an IBM i user profile that has *ALLOBJ and *IOSYSCFG special authorities.

  4. Click Manage > Application Servers, and select Admin1 - V8.5 (int app svr) from the list of servers. After the page refreshes, click the Disable TLS link under Application Server Wizards in the left menu.

    Admin1 server selected with the Disable TLS link in the left menu

  5. On Step 1 of 4, click Next. Select the check box next to the TLS port that you want to disable; typically, this is port 2003. Specify port 2002 as the HTTP port, and then click Next.

    Disable TLS wizard, step 1, with the TLS port check box and HTTP port field

    Accept the default selection, and click Next when you are prompted to restart the server. Click Finish to complete the Disable TLS wizard.

  6. Click Manage > Application Servers, and select Admin2 - V8.5 (int app svr) from the list of servers. After the page refreshes, click the Disable TLS link under Application Server Wizards in the left menu.

    Admin2 server selected with the Disable TLS link in the left menu

  7. On Step 1 of 4, click Next. Select the check box next to the TLS port that you want to disable; typically, this is port 2005. Then, click Next.

    Admin2 Disable TLS wizard, step 1, with the TLS port check box

    Accept the default selection, and click Next when you are prompted to restart the server. Click Finish to complete the Disable TLS wizard.

  8. Click Manage > Application Servers, and select Admin3 - V8.5 (int app svr) from the list of servers. After the page refreshes, click the Disable TLS link under Application Server Wizards in the left menu.

    Admin3 server selected with the Disable TLS link in the left menu

  9. On Step 1 of 4, click Next. Select the check box next to the TLS port that you want to disable; typically, this is port 2007. Then, click Next.

    Admin3 Disable TLS wizard, step 1, with the TLS port check box

  10. Restart the ADMIN server:

    ENDTCPSVR SERVER(*HTTP) HTTPSVR(*ADMIN)

    WRKACTJOB SBS(QHTTPSVR)

    Wait for all ADMIN jobs to end.

    STRTCPSVR SERVER(*HTTP) HTTPSVR(*ADMIN)

    Wait for all ADMIN server jobs to start and for CPU utilization to drop to 0%. To view this, run WRKACTJOB SBS(QHTTPSVR).

  11. Clean up the old QIBM_HTTP_SERVER_ADMINx application IDs and certificates in the Digital Certificate Manager (DCM) application:
    1. Open the DCM web application in your browser at http://<server>:2001/dcm.
    2. Sign in with an IBM i user profile that has *SECADM, *ALLOBJ, and *IOSYSCFG special authorities.
    3. Click Open Certificate Store on the left.
    4. Click *SYSTEM.
    5. Enter your password, and click Open.
    6. Click Manage Application Definitions near the top.
    7. In the Search box above the list of application definition tiles, type QIBM_HTTP_SERVER_ADMIN. This filters the list to all ADMIN-related application IDs.
    8. Delete each application ID: click + at the bottom right of each tile, and then click Delete. At the confirmation prompt, click Yes.
    9. Click Manage Certificates near the top of the screen.
    10. In the Search box above the Server/Client Certificate tiles, type QIBM_HTTP_SERVER_ADMIN. This filters the list to all ADMIN-related certificates.
    11. Delete each certificate: click + in the bottom right corner of the tile, and click Delete. Then, click Yes to confirm the deletion.
  12. Optional: Reconfigure the ADMIN server for TLS by using the following documents:

    Note: After you finish the "Configure SSL for ADMIN" wizard, you can log in to DCM and assign your own custom certificate to the QIBM_HTTP_SERVER_ADMIN application ID. Select Fast Path > Work with server and client certificates, select your certificate, and click Assign to applications. Finally, select your QIBM_HTTP_SERVER_ADMIN application ID and click Replace.

{ "data": [ { "Article Type":"Troubleshooting (DB560)", "Category":"IBM i Administration Server", "ARM Category":"IBM i Administration Server", "Keywords":"IBM i; TLS; Disable TLS; ADMIN HTTP server; ADMIN1; ADMIN2; ADMIN3; application servers; QIBM_HTTP_SERVER_ADMIN; Digital Certificate Manager; DCM; HTP8351; QHTTPSVR; STRTCPSVR; WRKACTJOB", "Predicate":"BREAKFIX", "Classifier":"SECURE" } ] }

[{"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":"a8m0z0000000CISAA2","label":"Digital Certificate Manager"},{"code":"a8m0z0000000CIcAAM","label":"IBM i Administration Server"}],"ARM Case Number":"","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"6.1.0;7.1.0;7.2.0;7.3.0;7.4.0;7.5.0;7.6.0"}]

Document Information

Modified date:
02 December 2026

UID

nas8N1022157