SignServer Cloud In Place Upgrade Procedure
Overview
This guide will upgrade a single node from Signserver Enterprise version 5.10.0 to Signserver Enterprise 5.11.2. In this example, the Signserver host will have an IP Address of 54.172.199.193. Please change this IP address to be the IP Address that matches the Signserver node being upgraded.
Download the Signserver Cloud or Virtual Appliance Upgrade file from your customer download folder or obtain a copy from support at support@primekey.com.
- Copy the upgrade package to the Signserver node using the following method:
Using the CLI:
If using a Mac or Linux based computer use the following command to copy the file to the host (Note: If using AWS, ensure you specify the user as ec2-user with your SSH key and in Azure, specify the user provisioned with your instance)CODEscp ~/Downloads/signserver-ee-5.11.2.Final-bin.zip root@54.172.199.193:/tmp
SSH to the Signserver VM and login as root
CODEssh root@54.172.199.193
Change directory to the /opt directory
CODEcd /opt
Unzip the upgrade file to the /opt/ directory
CODEunzip /tmp/signserver-ee-5.11.2.Final-bin.zip
Ensure the file extracted into the /opt/ directory by doing a directory listing
CODEls -la
Copy the existing config files to the new Signserver install folder overwriting the default files with the existing files.
CODE/bin/cp -f signserver/conf/*.properties signserver-ee-5.11.2.Final/conf/
Stop WIldFly
CODEsystemctl stop wildfly
Remove “signserver” symlink
CODErm signserver
Ensure it asks you to remove symbolic link!
CODErm: remove symbolic link ‘signserver’?
Create new symbolic link
CODEln -s signserver-ee-5.11.2.Final signserver
- Ensure the symbolic link points to the new Signserver directory.
Change the ownership of the new Signserver files (ensure the trailing "/" in the command below so the permissions of the directory are changed and not the symlink itself).
CODEchown -R wildfly:wildfly /opt/signserver/
Change directory to /opt/signerver
CODEcd /opt/signserver
Deploy Signserver
CODEant deploy
Restart WildFly
CODEsystemctl start wildfly
- Access the Signserver Admin Web UI and ensure the new version of Signserver is 5.11.2.Final (or the version you are upgrading to.)