Create a keystore on the Windows platform

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 directory to where you want to create the keystore file. This could e.g. be in the directory: C:\ProgramData\InterFormNG2, but NEVER inside any of the InterFormNG2 data- or program directories as a future upgrade might move or delete the keystore file.

 

Create the keystore file with the command:

 

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

 

In the command above the alias in the keystore is set to previewclient and the file, that is created is called previewclient.jks. The keystore is valid for 10 years.

 

Reply to the questions for the keystore:

 

NG2Keystore0001

 

Make a note of the password you entered, as you need that when you refer to the keystore in InterFormNG2 both in the system setting and on the preview client.

 

In the example above you should refer to the keystore with the path: C:\ProgramData\InterFormNG2\previewclient.jks

    • Related Articles

    • 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 ...
    • 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 ...
    • 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 ...
    • Start/stop InterFormNG2 on Windows platform

      Before you start the InterFormNG2 service you should consider, if the port number (default 8086) is to be used. If not, you can change the port number. The normal, manual start/stop of the InterFormNG2 service is described below, and the procedure to ...
    • To Windows share

      If you want to store output files e.g. PDF files generated by InterFormNG2, then you have many options. One of them is the To filesystem. If you want to store an output file onto the file system of another machine, then you can e.g. consider to e.g. ...