Configuring one-way SSL authentication for Confluent schema registry in a mapping
You can configure SSL authentication to establish one-way secure communication with Confluent schema registry.
Import the Confluent schema registry truststore certificate
Import the Confluent schema registry truststore certificate and ensure that the certificates are in the .jks format.
1Download the latest .jks truststore file from the secured Kafka broker associated with a secured schema registry.
2Extract the certificate from the .jks truststore file in PEM format.
The certificate is exported in .cer format.
3When prompted, specify the password for the truststore file.
4Import the .cer certificate into the cacerts file located in the jdk directory available at one or more of the following locations within your Secure Agent installation:
Ensure to add the certificate to all the available directories.
5When prompted, specify the password for the cacerts file.
6If there is a jdk directory within the <Secure agent installation directory>\apps folder, navigate to the following directory and import the .cer certificate into the cacerts file located in the jdk directory available at one or more of the following locations within your Secure Agent installation:
7After you import the cacerts file, verify the entry of the .cer certificate.
8Restart the Secure Agent.
Configure the Kafka connection
Configure the Kafka connection to enable one-way SSL authentication with the Confluent schema registry:
1In Administrator, select Connections.
2Select a Kafka connection for which you want to configure one-way SSL authentication with the Confluent schema registry.
3Click Edit.
4In the Kafka connection properties, select the SSL Mode as One-way.
5Specify the SSL TrustStore File Path and the SSL TrustStore Password.
6Click Save to save the connection.
Configure the Secure Agent
Configure the JVM Options and INFA_DEBUG property for the Secure Agent to configure one-way SSL authentication with the Confluent schema registry and to successfully import the Avro metadata from the Confluent schema registry.
To configure the Secure Agent and successfully import the Avro metadata, perform the following steps:
1In Administrator, select Runtime Environments.
2Select the Secure Agent for which you want to configure from the list of available Secure Agents.
3In the upper-right corner, click Edit.
4In the System Configuration Details section, select the Type as DTM for the Data Integration Service.
5Edit the following JVM options and add the following values: