Additional Steps for Using the IBM JDK¶
If you are using the IBM JDK, you need to set OWASP to use the correct Pseudo-random Number Generator (PRNG). To do this before installation, you can modify the WAR file as follows:
-
The WAR file is an archive format in a single file.
-
Extract the
Websphere.jrs.csrfguard.propertiesfile using the following command:cd <js-install> "%JAVA_HOME%/bin/jar" xf jasperserver-pro.war WEB-INF/csrf/Websphere.jrs.csrfguard.propertiesThis creates the
WEB-INF/csrffolder in the current location and places the extracted file there. -
Rename the file from
Websphere.jrs.csrfguard.propertiestojrs.csrfguard.propertiesusing the following command:
-
-
After you have modified the file, replace it in the WAR file archive using the following commands.
cd <js-install>
"%JAVA_HOME%\bin\jar" uf jasperserver-pro
.war WEB-INF/csrf/jrs.csrfguard.properties