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.
Do 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.
Find a command prompt on IBM i.
Run the following command to start QShell:
STRQSH
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
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
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).
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
The host system configuration can refer to the keystore file like so:
Now that the keystore file has been created and configured, you can proceed with the setup of your preview client.