Create a keystore on the IBM i platform

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. This is covered below in details.

 

You should NEVER place the keystore file in any of the data- or program directories for InterFormNG2, as a future upgrade might delete or move the keystore file.

 

First you need to find a command prompt on the IBM i.

Now run the command: STRQSH to start qshell

Now you need to run one of the commands below:

 

The keystore suppporting the strongest encryption:

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

 

We have found, that a PKCS12 keystore was not supported on an IBM i, so here you may create it with this command instead:

 

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

 

Now you are asked multiple questions about the keystore and finally you need to confirm the create with yes:

 

NG2Keystore0002

 

After this you have a new keystore file called remoteprint.jks in the IFORMNG2 directory in the IFS.

 

Remember to copy the keystore file from the host to the remote client, and make a note of the keystore password as you will need it, when you configure both the InterFormNG2 host, and the preview clients.

 

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

 

NG2Keystore0003

 

 

Now you can continue with the setup of your preview client.

    • Related Articles

    • Create a keystore on the Windows platform

      You might need to create a keystore on the Windows platform e.g. for the preview client or the remote client. This is covered below in details. •Start a command prompt. You can e.g. do that by searching for an app with the name cmd. •Change the ...
    • Create a keystore for the preview client

      The section below describes how you can create your own keystore for the InterFormNG2 preview client. Another section covers the full configuration of the preview client - including how to refer to a keystore, that you have created yourself. You need ...
    • Setup keystore for remote clients

      You need a safe keystore in order to be able to communicate between the InterFormNG2 host, and the remote clients in a safe manner. This is done by the use of a keystore. The same keystore file must be shared between the InterFormNG2 host and the ...
    • Connecting to AS400 from another platform

      Connecting to AS400 from another platform : The section below describes the steps to go through, if you want to monitor output queues with spooled files on the IBM i platform from an InterFormNG2 installation on another platform e.g. Windows or ...
    • Create PDF file

      The Create PDF file workflow component is found under Basic and create document. This component accepts an XML file as input. The component creates a PDF file and stores it directly in the file system. The output payload is the same as the input ...