Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

YOUnite API server, Younite Adaptors, and Younite UI communicate with each other using JMS. The JMS messages are sent via the message broker. Following needs to be configured in order for this communication to happen:

  1. Update the dcokerdocker-compose files so that ACTIVE_MQ_URI  uses the SSL connector as follows:
    ACTIVE_MQ_URI=nio+ssl://openmdm-amq:61617
    * If you are running the API outside of dockerDocker, then update the properties file (application.properties) to use the above mentioned uri for the property called activemq.broker.uri.
  2. Add the broker certificate to the trust store for the API as follows:
    keytool -import-alias broker -keystore client.ts -file broker_cert
    Since the only purpose of this certificate is to support SSL/TLS, we are not using a certifcate certificate signed by a CA.
  3. Update the ENTRYPOINT in Dockerfile to include the path to the truststore trustStore as follows:
    -Djavax.net.ssl.trustStore=/opt/certs/client.ts
    If you are running the API outside of dockerDocker, then update the command line to include the path to the trust store trustStore as mentioned above.