Variable
|
What to Update
|
Sample Configuration
|
---|---|---|
JAVA_HOME
|
Update each service to point to the Java 11 installation directory.
|
Environment='JAVA_HOME=/usr/lib/jvm/java-11-amazon-corretto'
|
ExecStart
|
Update each service (except ZooKeeper) so the initial section of the variable points to the Java 11 executable.
|
ExecStart=/usr/bin/nohup "/usr/lib/jvm/java-11-amazon-corretto/bin/java" ...
|
|
If you are using certificates from a trusted Certificate Authority, they will already be available in the Java 11 cacerts file.
|
Files
|
Instructions
|
---|---|
ThingWorx SSL certificate
(a PEM or CER file)
|
Extract command:
keytool -keystore <path to ../java8/jre/lib/security/cacerts> -alias<assigned certificate alias> -export-file<path and file name of the certificate>.cer
Import command:
keytool -keystore<path to ../java11/lib/security/cacerts>-alias<assigned certificate alias> -import-trustcacerts -file<path and file name of the certificate>.cer
|
Analytics Server keystore
(a JKS file)
|
Import command:
keytool -importkeystore-srckeystore<path to the Analytics Server keystore>-destkeystore<path to ../java11/lib/security/cacerts>
|
ZooKeeper
|
None. The ZooKeeper certificate does not need to be imported to the Java 11 cacerts file.
|