Support articles

Find clear, step-by-step solutions to common WithSecure issues across installation, configuration, updates, and product performance.

How to switch fspm-definitions-update-tool’s platform from Linux to Windows (vice versa) in Policy Manager

Issue:

In order to update database in an offline server, an offline tool called fspm-definitions-update-tool is needed to be created by Policy Manager (PM).
Detailed steps can be found here.

For example, if this fspm-definitions-update-tool is created from a Linux Policy Manager, then this tool can only be executed on an online Linux machine.

If I do not have an online Linux machine, and do not have a Windows server to temporarily install Windows Policy Manager, how can I execute this tool to create an offline definition update file?

Resolution:

WithSecure's fspm-definitions-update-tool is using java files, therefore changing the java file will enable you to use the tool in a different platform.
Below are detailed steps on how to download and change the java file.

Scenario 1 : fspm-definitions-update-tool is created from Linux PM, and this tool is to be executed on a Windows machine.

  1. Download Windows JRE from this link (specified links are valid for PM 15.x, older PM versions require JRE 8)
  2. Unpack the content downloaded above to fspm-definitions-update-tool\jre\ and replace all existing files
  3. Move to "fspm-definitions-update-tool" as current directory
  4. Run the tool with the following command
jre\bin\java.exe -server -cp "lib\*" -XX:ErrorFile="logs\hs_err_pid%%p.log" com.fsecure.fspms.definitionsupdate.DefinitionsUpdateTool -configPath "conf\configuration.properties"

Scenario 2 : fspm-definitions-update-tool is created from Windows PM, and this tool is to be executed on a Linux machine.

  1. Download Linux JRE from this link (specified links are valid for PM 15.x, older PM versions require JRE 8)
  2. Unpack the content downloaded above to fspm-definitions-update-tool/jre/ and replace all existing files
  3. Move to "fspm-definitions-update-tool" as current directory
  4. Run the tool with the following command
jre/bin/java -server -XX:ErrorFile=logs/hs_err_pid%p.log -Djava.security.egd=file:/dev/./urandom -cp lib/\* com.fsecure.fspms.definitionsupdate.DefinitionsUpdateTool -configPath "conf/configuration.properties"