Versions Compared

Key

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

The YOUnite API server, Younite YOUnite Adaptors, and Younite 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 happenUse the following steps to configure the JMS communication:

  1. Update the docker-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 Docker, 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 certificate signed by a CA.
  3. Update the ENTRYPOINT in Dockerfile to include the path to the trustStore as follows:
    -Djavax.net.ssl.trustStore=/opt/certs/client.ts
    If you are running the API outside of Docker, then update the command line to include the path to the trustStore as mentioned above.