Enable SSL Authentication in Apache Kafka using Portecle

Enable SSL Authentication in Apache Kafka using Portecle

Step 2. Create Truststore Files

Step 2. Create Truststore Files

Create a truststore file to store certificates from the trusted Certificate Authority (CA). Use the truststore file to verify the certificate provided by the server in an SSL connection.
Perform the following steps to create a truststore file that contains the Head certificate:
  1. Open the keystore file, right-click the file alias name, and select
    Export
    .
    Export alias name file.
  2. Retain the default values and click
    OK
    .
    Export Keystore Entry dialog box.
  3. Save the
    .cer
    file.
  4. From the Tools menu, click
    Import Trusted Certificate
    .
    The
    Import Trusted Certificate
    dialog box appears.
  5. Select the
    .cer
    certificate file that you exported in Step 3.
  6. Confirm the certificate details and click
    OK
    .
    A dialog box appears asking if you want to accept the certificate.
  7. Click
    Yes
    to trust the certificate and import it.
    Otherwise, click
    No
    to cancel the file import.
    The
    Trusted Certificate Alias
    dialog box appears.
  8. Enter the alias of the new trusted certificate and click
    OK
    .
    The new trusted certificate entry appears in the keystore entries table with the chosen alias name.
    In case of multi-broker Kafka, all keypairs for each broker must reside in the same keystore file. Similarly, all head certificates must reside in the same truststore file.

0 COMMENTS

We’d like to hear from you!