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. The steps below explain how to do this in detail.

1) Open a Command Prompt

  • Start a command prompt.

  • You can do this by searching for an app named:

cmd

2) Change the Directory

Navigate to the directory where you want to create the keystore file. You can do this by searching for an app named:
For example, you can change the directory to:
C:\ProgramData\InterFormNG2
Warning
Do NOT place the keystore inside any of the InterFormNG2 data or program directories.
A future upgrade might move or delete the keystore file.

3) Create the Keystore File

Run the following command:
keytool -genkeypair -alias previewclient -keyalg RSA -keysize 2048 -storetype PKCS12 -keystore previewclient.jks -validity 3650
Explanation of Command Parameters:
-alias previewclient → Sets the alias in the keystore as previewclient.
-keyalg RSA -keysize 2048 → Uses RSA encryption with a 2048-bit key.
-storetype PKCS12 → Specifies the keystore format.
-keystore previewclient.jks → Creates the keystore file previewclient.jks.
-validity 3650 → The keystore is valid for 10 years (3650 days).

4) Respond to the Keystore Prompts

  NG2Keystore0001

When prompted, enter the required information.

Make a note of the password you entered, as you will need it when referring to the keystore in InterFormNG2, both in:

  • System settings

  • Preview client

5) Referencing the Keystore in InterFormNG2

In the example above, you should refer to the keystore file with the following path:

C:\ProgramData\InterFormNG2\previewclient.jks

    Notice: Help Center Transition Update

    As of January 13, 2025, we are excited to announce that our new Help Center is in the final stages of development. While the Knowledge Base is already accessible, our current JIRA system will continue to manage support tickets during this transition period. For assistance with InterForm Output Management Software, please refer to the Support for InterForm Output Management Software.

    We appreciate your patience and understanding as we work to enhance your support experience. If you have any questions or encounter any issues, please do not hesitate to reach out via the existing support channels.

    Best regards,
    The InterForm Support Team


      • Related Articles

      • Create a keystore for the preview client

        Please note: The remote preview client application has been decommissioned in version 3.5.1 and all related settings have been removed. It is only available for previous versions. The articles will be removed soon. The section below describes how you ...
      • 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. Do NOT place the keystore file inside any of the InterFormNG2 data or program directories, ...
      • 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. ...
      • Installing InterFormNG2 on Windows

        Installing InterformNG2 on Windows: A video, that covers the installation on the Windows platform is included below: In order to install, you first need to unzip the distribution file, and then run the unzipped installation file. Now you will see ...