Skip to main content
Skip table of contents

SignServer In Place Upgrade

This guide upgrades a single node from SignServer Enterprise version 5.4.0 to SignServer Enterprise 5.5.0.  In this example, the SignServer host has an IP Address of 172.1617.130.  Change this IP address to be the IP Address that matches the SignServer node being upgraded.

Download the SignServer binary file from your customer download folder or obtain a copy from support at support@primekey.com

  1. Copy the upgrade package to the SignServer node using one of the following methods:

    1. Using the CLI:
      If using a Mac or Linux based computer, use the following command to copy the file to the host. 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.

      CODE
      scp ~/Downloads/signserver-ee-5.5.0.Final-bin.zip root@172.16.17.130:/opt/dist/
    2. Using a program such as WinSCP or CyberDuck:
      Click Open Connection.

      Enter the host credentials and click connect.

      Select the /opt/dist directory.

      Drag and drop the file to the SignServer host in the /opt/dist directory.

  2. SSH to the SignServer host and log in as root.

    CODE
    ssh root@172.16.17.130
  3. Change directory to the /opt directory.

    CODE
    cd /opt
  4. Unzip the upgrade file into the /opt/ directory.

    CODE
    unzip dist/signserver-ee-5.5.0.Final-bin.zip
  5. Ensure the file is extracted into the /opt/ directory by doing a directory listing.

    CODE
    [root@signserver-node-01 opt]# ls -la
    total 0
    drwxr-xr-x.  8 root    root    148 May 15 17:34 .
    drwxr-xr-x. 17 root    root    261 May 14 20:19 ..
    drwxr-xr-x.  2 root    root     60 May 15 17:29 dist
    lrwxrwxrwx.  1 root    root     22 May 14 18:20 signserver -> /opt/signserver-ee-5.4.0.Final/
    drwxr-xr-x.  7 wildfly wildfly  80 May 14 20:22 signserver-ee-5.4.0.Final
    drwxr-xr-x   6 root    root     52 May 14 12:20 signserver-ee-5.5.0.Final
    drwxr-xr-x.  6 wildfly wildfly  90 May 14 20:23 PrimeKey
    drwxr-xr-x.  3 root    root     21 May 14 17:54 rh
    lrwxrwxrwx.  1 root    root     25 May 14 18:03 wildfly -> /opt/wildfly-10.1.0.Final
    drwxr-xr-x. 10 wildfly wildfly 237 May 14 18:20 wildfly-10.1.0.Final
    [root@signserver-node-01 opt]#
  6. 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.5.0.Final/conf/
  7. Stop WildFly.

    CODE
    systemctl stop wildfly
  8. Remove signserver symlink.

    CODE
    rm signserver
  9. You are asked to remove the symbolic link. Select "y" and press enter.

    CODE
    rm: remove symbolic link ‘signserver’?

Make sure the command asks you to remove symbolic link.

  1. Create a new symbolic link.

    CODE
    ln -s signserver-ee-5.5.0.Final signserver
  2. Ensure the symbolic link points to the new SignServer directory.

    CODE
    lrwxrwxrwx   1 root    root     16 May 15 17:53 signserver -> signserver-ee-5.5.0.Final
  3. 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.

    CODE
    chown -R wildfly:wildfly /opt/signserver/
  4. Copy the "signserver.ear" file to the WildFly deployments directory.

    CODE
    /bin/cp -f signserver/dist/signserver.ear /opt/wildfly/standalone/deployments/
  5. Restart Wildfly.

    CODE
    systemctl start wildfly
  6. Ensure the new version of SignServer is 5.5.0 in the Admin UI.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.