Configuring Azure Connector

Import the HEAL SSL certificate into the Azure Connector container keystore.

1 min read Updated SS
  1. Execute the following command to run a new command in a running container.

    docker exec -it <containerid> bash
    
  2. Import HEAL certificate to the Keystore:

    1. Generate the SSL certificate from the server, by executing the following command.

      echo -n | openssl s_client -connect '<SERVERIP>:<PORT>' | sed -ne
      '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' >
      /tmp/<servicename>.crt
      

      <SERVERIP>:<PORT>: Provide the IP address and port number of GRPC or HAPROXY.

    2. Import the certificate into the Java cacerts Keystore, by executing the following command.

      keytool -import -trustcacerts -keystore
      <JAVA_HOME>/jre/lib/security/cacerts -storepass changeit -noprompt -
      alias <servicename> -file /tmp/<servicename>.crt
      
    3. Copy cacerts file to the config directory.

      cp <JAVA_HOME>/jre/lib/security/cacerts <Connector Build
      path>/config/
      

      Note: This is needed to push KPIs to HEAL over SSL.

  3. Validate the consul keys listed below before uploading the UI template to verify the CC port, GRPC hostname, and GRPC port and ensure that SSL is enabled.

    Keys

    connector/cc/port

    connector/grpc/address

    connector/grpc/port

    connector/heal/ssl/enabled