Setting up TLS certificate between Kafka server and mid-server

You must set up TLS certificate between Kafka server and MID Server.

Procedure

To set up TLS certificate between Kafka server and MID Server, complete the following steps:

  1. Obtain the ssl_export/zoasvc.crt file from the system on which the Kafka software container is installed. For more information, see Exporting the self-signed certificate generated during OCI container image installation.
  2. On the system where mid server is running, issue this command to import the certificate file into the JVM truststore of the MID Server. Replace ~/SNOW_mid_server/ with directory where MID Server is installed:
    keytool -import -alias zoa_cert_for_midserver  -file zoasvc.crt  -keystore ~/SNOW_mid_server/agent/jre/lib/security/cacerts -trustcacerts
    Note: The default password for the MID Server truststore is changeit.
  3. Restart the MID Server
    Example command on Linux:
    sudo systemctl restart middev131415