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:
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:
Now you can continue with the setup of your preview client.