Create a keystore on the IBM i platform - InterFormNG2 Manual

Create a keystore on the IBM i platform

You might need to create a keystore on the IBM i platform, e.g., for the preview client or the remote client. The steps below explain how to do this in detail.

WarningDo NOT place the keystore file inside any of the InterformNG2 data or program directories, as a future upgrade might delete or move the keystore file.

1) Start a command crompt on IBM i

  • Find a command prompt on IBM i.

  • Run the following command to start QShell:

STRQSH

2) Create the keystore file

Run one of the following commands:

For the keystore supporting the strongest encryption

keytool -genkeypair -alias previewclient -keyalg RSA -keysize 2048 -storetype PKCS12 -keystore /iformng2/previewclient.jks -validity 3650


Alternative: If PKCS12 keystore is not supported on IBM i

If the PKCS12 keystore is not supported, use this command instead:

keytool -genkeypair -alias previewclient -keyalg RSA -keysize 2048 -storetype JKS -keystore /iformng2/previewclient.jks -validity 3650

3) Respond to keystore prompts

NG2Keystore0002


  • You will be asked multiple questions about the keystore.

  • Finally, confirm the creation by typing:

yes

After this, a new keystore file named:

remoteprint.jks

will be created in the /IFORMNG2 directory in the IFS (Integrated File System).

4) Copy the keystore file & note the password

  • Copy the keystore file from the host to the remote client.

  • Make a note of the keystore password, as you will need it when configuring:

    • InterformNG2 host

    • Preview clients

5) Referencing the keystore in InterformNG2

Alert
In v3.5.0 the remote preview client application has been decommissioned and all related settings have been removed.

The host system configuration can refer to the keystore file like so:

NG2Keystore0003

6) Continue with the preview client setup

Now that the keystore file has been created and configured, you can proceed with the setup of your preview client.