Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

The YOUnite API server, YOUnite Adaptors, and YOUnite UI communicate with each other using JMS. JMS messages are sent via the message broker. Use 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.
  • No labels