CertAP upgrade on Linux - SSO

Install Server JRE

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

Use the same instructions to set the JRE_HOME environment variable.

Unpacking the Software

Perform backup of the directory:

/usr/local/ubisecure/certap

Stop current service and remove old certap-server:

/etc/init.d/certap-server stop
cd /usr/local/ubisecure/certap/certap/config/tomcat
./remove.sh

Rename certap directory to certap-old.

Unpack the new packet:

cd /usr/local/ubisecure/
tar xzvf certap-X.X.XXXX.zip

Copy the following files from the old directory to the matching locations in the newly created /usr/local/ubisecure/certap directory, overwriting any existing files.

/usr/local/ubisecure/ubilogin-certap-old/certap/unix.config
/usr/local/ubisecure/ubilogin-certap-old/certap/webapps/certap/WEB-INF/uap/pki/policy.xml
/usr/local/ubisecure/ubilogin-certap-old/certap/webapps/certap/WEB-INF/uap/metadata/metadata.xml
/usr/local/ubisecure/ubilogin-certap-old/certap/webapps/certap/WEB-INF/uap/identity.properties
/usr/local/ubisecure/ubilogin-certap-old/certap/custom*
/usr/local/ubisecure/ubilogin-certap-old/certap/logs*

Run the setup.sh script to create the configuration files:

cd /usr/local/ubisecure/certap/certap
./setup.sh

Run install and start the service:

cd /usr/local/ubisecure/certap/certap/config/tomcat
./install.sh
/etc/init.d/certap-server start

Test installation. Remove temporary /usr/local/ubisecure/certap-old directory when upgrade is completed.