Upgrading Edge Encryption
-
- UpdatedJan 30, 2025
- 6 minutes to read
- Yokohama
- Edge Encryption
Both instance upgrades and proxy server upgrades require special consideration in an Edge Encryption environment.
Instance upgrades
Instance upgrades in an Edge Encryption environment require caution to ensure that Edge controls work properly after the instance upgrade.
- Edge Encryption configurations
- Edge Encryption rules
- Edge Encryption tokenization patterns
- Edge Encryption scheduled jobs
- Edge Encryption key configurations
- Edge Encryption scheduled upgrades
- Edge Encryption denylist IP configurations
Any scheduled job running during the instance upgrade will not complete. To complete the interrupted job, rerun the job once the instance is upgraded. When you reschedule the job, the processing that occurred before the instance upgrade is not lost, and the job continues to process only the data that has not yet been processed.
Proxy server upgrades
Third party libraries
- Manually add the following property to
edgeencryption.properties:
edgeencryption.ekm.provider.classname = com.snc.edgeencryption.encryption.CloudEdgeNaeKeyProvider
- Add the edgeencryption.thirdparty.vendor.library.path vendor
library location property and set it to /path/to/jars.
For example:
edgeencryption.thirdparty.vendor.library.path = /app/servicenow/libs
- Copy the SafeNet JARs into that path.
After you install the third party libraries outside of the Edge Encryption installation, they are no longer lost during upgrades.
Scheduled upgrades
- The proxy server checks with the instance to see if there is a new version available for upgrade. New versions generally become available when the instance is upgraded.
- The administrator receives a notification upon logging in when a new version of the proxy server is available.
- The administrator can Schedule an Edge Encryption
proxy server upgrade for each proxy server.Note: Only users with the security_admin role can create an upgrade schedule through the proxy server.
- Once the upgrade is scheduled, the proxy server automatically upgrades at the scheduled
time. During the upgrade, the proxy server is offline for only a short time.Note: Because the proxy server restarts during the upgrade, it is offline for a short time. The amount of time is determined by your environment and how long it takes to stop and restart the proxy service.
- During the scheduled upgrade, a new proxy directory is created and your configuration files
are copied to the new directory. New properties are written to your existing properties file.
The following files or directories in your old proxy directory are copied to the new proxy
directory.
- /conf directory
- /keys directory
- /keystore directory
- java/jre/lib/security/cacerts file
As a result, your keys, keystores, settings, and certificates are preserved.Note: Only the above files are copied to the new proxy directory. Any other customized files in the proxy server directory are not preserved during a scheduled upgrade. The upgrade log file can be found in the original proxy directory in the following folder: <original-proxy-directory>/tmp/upgrade-wrapper/bin.
Prerequisites for scheduled upgrades
- The JAVA_HOME environment variable points to a java installation on the machine that is outside the Edge Encryption proxy’s directory structure.
- The JAVA_HOME environment variable points to a java installation that is at version 1.8_u144 or higher.
- The -Djava.io.tmpdir parameter in the wrapper.conf file of the Edge Encryption proxy points to a directory that is OUTSIDE the Edge Encryption proxy’s directory structure, and the proxy has read/write/execute permissions on the directory. Optionally, you could comment out the parameter entirely so that Java uses its default tmp location.
Manual upgrades
Instead of creating an upgrade schedule, you can manually upgrade each proxy server through the command line. See Manually upgrade an Edge Encryption proxy server running on Linux or Manually upgrade an Edge Encryption proxy server running on Windows.
Proxy build status
You can easily identify whether a proxy server is out of date by navigating to Proxy build column by the following colors:
. The status of your proxy build is indicated in the- Green
- Your proxy server is up-to-date.
- Yellow
- Your proxy server is out-of-date and an upgrade is needed.
- Orange
- Upgrade failed. Your proxy server reverts to the old version to ensure that there is no downtime.
Troubleshoot a failed scheduled proxy upgrade
When a scheduled proxy upgrade fails, the proxy server reverts to the version you are upgrading from. All original data, keys, and configuration files are preserved. This process may take several minutes. Contact Customer Service and Support to ensure a successful upgrade.
If a scheduled proxy upgrade fails repeatedly, you can manually upgrade your proxy server. See Manually upgrade an Edge Encryption proxy server running on Linux and Manually upgrade an Edge Encryption proxy server running on Windows.
Java minimum requirements
If using AES 256-bit encryption with Java 8 update 141 (8u141) or lower, you must install the Java Cryptography Extension (JCE) jurisdiction policy files by copying them into the system Java home directory of each Edge Encryption proxy server host. Add these files to the <Java-home-directory>/jre/lib/security folder before performing a scheduled or manual upgrade. To install the AES 256-bit encryption policy files, see Configure the AES 256-bit encryption key.
Mixed proxy-version environments
Although an environment running old versions of the proxy server with up-to-date versions of the proxy server is not recommended, it is supported if all proxy servers are within the same version family as your instance. For example, if you have an instance on the Yokohama release, your environment supports proxy servers from any Yokohama patch or hot fix. However, the following limitations apply.
- If one proxy server supports functionality that another proxy does not support, you will see inconsistent behavior, depending on which proxy server is used.
- If a proxy server is out-of-date, it may not include recent security enhancements.
If a proxy server from a previous release is registered with a newer release of the instance, you will receive regular notifications that the proxy server is out-of-date. To ensure an optimal and secure environment, ServiceNow recommends always upgrading your proxy server to the most recent version of the software supported by your instance.