Kafka Connect REST API Security
billwenboli opened this issue · 0 comments
billwenboli commented
Hi, regarding the documentation here, I have tried adding the following configuration parameters to my connect-distributed.properties file:
listeners=https://myhost:8443
rest.advertised.listener=https
rest.advertised.host.name=<localhost>
rest.advertised.host.port=8083
listeners.https.ssl.client.auth=requested
listeners.https.ssl.truststore.location=/var/ssl/private/kafka.server.truststore.jks
listeners.https.ssl.truststore.password=test1234
listeners.https.ssl.keystore.location=/var/ssl/private/kafka.server.keystore.jks
listeners.https.ssl.keystore.password=test1234
listeners.https.ssl.key.password=test1234
What's weird is that no matter how I change these values, for example listeners.https.ssl.client.auth
from requested
to none
or to required
, I always get the same handshake failures when accessing through both curl and Java client. When I tested the connection using openssl
, it shows no certificate is found. I am just curious if the parameters listeners.https
are being picked up when Kafka Connect cluster is launched? Thanks.