For establishing a secure connection to the Network Configuration Manager server:
-
From the Network Configuration Manager Application or Combination server, export the self signed certificate from [Product Directory]/conf/voyence-ssl.keystore to a file using the steps:
-
source /etc/voyence.conf
-
$JAVA_HOME/bin/keytool -export -keystore [Product directory]/conf/voyence-ssl.keystore -alias selfsigned -file <CERTIFICATE>
To find the location of JAVA_HOME, type the command echo $JAVA_HOME. Ensure that JAVA_HOME is pointing to the right version of Java. For example, <<VOYENCE_HOME>>/java.
Note:<CERTIFICATE> can be any name and it is the file that is created from the export.
Press Enter without entering a password.
-
Import the self signed certificate from the file <CERTIFICATE>.
$JAVA_HOME/bin/keytool -keystore $JAVA_HOME/jre/lib/security/cacerts -import -file <CERTIFICATE> -alias selfsigned
-
Type the password changeit during the prompt.
This is the default password, unless otherwise modified.
-
Type Yes and click Enter when the Trust the certificate prompt appears.
To view the imported certificate, type:
$JAVA_HOME/bin/keytool -keystore $JAVA_HOME/jre/lib/security/cacerts -list -alias selfsigned
-
Restart Tomcat service:
systemctl restart tomcat
-
Restart the adapter, following the instructions in “Installed services” on page 169.