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 2 Next »

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 dcoker-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 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 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 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 API outside of docker, then update the command line to include the path to the trust store as mentioned above.
  • No labels