In Kafka Tools How to setup Third Party Credentials?

Certified Associate Developer

Hi Team,

We are new setup Kafka tool in our On Premise Appian setup. Kindly guide us for the below questions, as Kafka documentation not covered all the details

1. How to create Trust store and Key store to connect to Kafka?

2. What are the details we have to get from Kafka team?

3. what p12 file used for in Appian? this we got along with Kafka crt certificates.

Thanks in advance.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    1. See answer 3.

    2. Pretty everything except the payload.

    3. You can convert the .p12 to a Keystore and then extract the Trust store from that.

    keytool -importkeystore \
      -srckeystore client.p12 \
      -srcstoretype PKCS12 \
      -destkeystore kafka.client.keystore.jks \
      -deststoretype JKS
    

    To Create the Trust Store - extract the CA certs:

    openssl pkcs12 -in client.p12 -cacerts -out ca-cert.pem -nokeys

    Then, import CA cert(s) into a new truststore:

    keytool -import -alias kafka-ca -file ca-cert.pem -keystore kafka.client.truststore.jks
    

Reply
  • 0
    Certified Lead Developer

    1. See answer 3.

    2. Pretty everything except the payload.

    3. You can convert the .p12 to a Keystore and then extract the Trust store from that.

    keytool -importkeystore \
      -srckeystore client.p12 \
      -srcstoretype PKCS12 \
      -destkeystore kafka.client.keystore.jks \
      -deststoretype JKS
    

    To Create the Trust Store - extract the CA certs:

    openssl pkcs12 -in client.p12 -cacerts -out ca-cert.pem -nokeys

    Then, import CA cert(s) into a new truststore:

    keytool -import -alias kafka-ca -file ca-cert.pem -keystore kafka.client.truststore.jks
    

Children