CertAP upgrade on Windows

Install Server JRE

You can find instructions on how to install the Server JRE from the SSO Windows Install page. 

Use the same instructions to set the JRE_HOME environment variable

Unpacking the Software

Perform backup of the directory

C:\Program Files\Ubisecure\certap

Stop current service and remove it:

cd /d "C:\Program Files\Ubisecure\certap\certap\config\tomcat"
remove.cmd

Rename certap directory to certap-old.

Unzip the new packet to C:\Program Files\Ubisecure\.

Copy the following files from the old directory to the matching locations in the newly created C:\Program Files\Ubisecure\certap directory, overwriting any existing files.

C:\Program Files\Ubisecure\certap-old\certap\win32.config
C:\Program Files\Ubisecure\certap-old\certap\webapps\certap\WEB-INF\uap\pki\policy.xml
C:\Program Files\Ubisecure\certap-old\certap\webapps\certap\WEB-INF\uap\metadata\metadata.xml
C:\Program Files\Ubisecure\certap-old\certap\webapps\certap\WEB-INF\uap\identity.properties
C:\Program Files\Ubisecure\certap-old\certap\custom*
C:\Program Files\Ubisecure\certap-old\certap\logs*

If upgrading from a version prior to 1.2.1, add the following line to the win32.config file if it does not exist:

tomcat.username = NT AUTHORITY\\LocalService

Run the setup.cmd script to create the configuration files.

cd /d "C:\Program Files\Ubisecure\certap\certap"
setup.cmd

Run install to start the service

cd /d "C:\Program Files\Ubisecure\certap\certap\config\tomcat"
install.cmd

Test installation. Remove temporary C:\Program Files\Ubisecure\certap-old directory when upgrade is completed.