Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Code Block
On the primary/main FreedomPrimis sever (receiving AMS events)
========================================================
- run the following commands to open port 11011
firewall-cmd --zone=viscount --add-port=11011/tcp --permanent
systemctl restart firewalld
firewall-cmd --zone=viscount --list-ports

- generate a java keystore file containing the server certificate
https://www.sslshopper.com/article-how-to-create-a-self-signed-certificate-using-java-keytool.html

- edit /var/opt/viscount/etc/env
--------------------------------
- add this line before ENGINE_LIBS
  AMS_SSL=yes

- add the following options at the beginning of ENGINE_DAEMON_OPTS=
  "-Djavax.net.ssl.keyStore=<java keystore absolute file path> -Djavax.net.ssl.keyStorePassword=<keystore password> "

- add the following options at the beginning of DSR_DAEMON_OPTS
  "-DAMS_SSL=$AMS_SSL "
--------------------------------

- systemctl restart engine tomcat viscount-dsr

On the FreedomPrimis secondary server
================================
- edit /var/opt/viscount/etc/env
--------------------------------
- add this line before ENGINE_LIBS
  AMS_SSL=yes

- systemctl restart engine tomcat viscount-dsr

...