Skip to content

IBM i TLS Connection Configuration

Overview

InfoConnect products can communicate with IBM i services over an encrypted channel. This is the recommended mode for all production and non-production environments, except possibly for initial product trials where no sensitive data is exchanged.

IBM i Digital Certificate Manager (DCM) is an out-of-the-box IBM i tool for managing TLS certificates and applying them to IBM i communication services, including Program Call, Data Queue, and other services that InfoConnect uses.

This page describes how to create a self-signed TLS certificate, apply it to IBM i services, and extract it into an InfoConnect-compatible truststore. In most production environments, use a certificate signed by a Certificate Authority (CA) instead.

Note

Managing TLS certificates on IBM i is a separate administration function that is not limited to InfoConnect, and the requirements and instructions can vary.

IBM i TLS certificate setup

  1. Open IBM i Digital Certificate Manager from IBM i Navigator (https://<IBM-i-address-or-name>:2004): Internet Configurations > Digital Certificate Manager.

    The screenshots below can look different depending on your Navigator for i version, but the steps are roughly the same.

    Digital Certificate Manager main page

  2. Click Select Certificate Store and select *SYSTEM.

    Select the *SYSTEM certificate store

    If no *SYSTEM store is available, click Create New Certificate Store and follow the prompts. When you create the store, choose not to create a certificate yet.

  3. Create a new Local Certificate Authority if you do not have one. Follow the prompts. When the system asks you to create the *OBJECTSIGNING store, click Cancel.

  4. Click Select Certificate Store again to switch back to the *SYSTEM store.
  5. Click Create new Server or Client certificate and select the Local Certificate Authority for signing. Follow the prompts.
  6. On the Applications page, assign the new certificate to the servers that must use it for SSL connections. For example: Database server, Data Queue server, File server, DRDA server, Remote Command server, Signon server, and QIBM_HTTP_SERVER_<http server name>.
  7. Restart the IBM i host servers so that the new certificate rules take effect.

    Restart host servers

Extracting the TLS certificate into a truststore

  1. In IBM i Digital Certificate Manager, select the *SYSTEM certificate store, click Install Local CA Certificate on your PC, and select Copy and paste the certificate.

    Install Local CA Certificate page

    Certificate text to copy

  2. Copy the certificate content into a text file <certificate-file-name> on your file system.

  3. Create a new truststore or import the certificate into an existing one:

    keytool -import -alias <ibm-i-certificate-alias> -file <certificate-file-name> -keystore <truststore-name>
    
  4. Enter the store passwords and confirm that the certificate must be trusted.

You can now use the truststore with the MuleSoft and Kafka connectors and with InfoConnect Hub.