trustStore [image: Copy to clipboard] JAVA_OPTS=$JAVA_OPTS -Djavax.net.ssl.trustStore=/path/to/truststore.jks -Djavax.net.ssl.trustStoreType=jks -Djavax.net.ssl.trustStorePassword=changeit
keyStore [image: Copy to clipboard] JAVA_OPTS=$JAVA_OPTS -Djavax.net.ssl.keyStore=/path/to/keystore.jks -Djavax.net.ssl.keyStoreType=jks -Djavax.net.ssl.keyStorePassword=changeit Check for setting this in $KAFKA_OPTS <https://doc.nuxeo.com/nxdoc/trust-store-and-key-store-configuration/#adding-your-certificates-to-the-default-trust-store> בתאריך יום ו׳, 28 במאי 2021, 15:24, מאת sunil chaudhari < sunilmchaudhar...@gmail.com>: > Yeah. > I am trying to add truststore in java keystore > Lets see > > On Fri, 28 May 2021 at 5:40 PM, Ran Lupovich <ranlupov...@gmail.com> > wrote: > > > Anyways you need to remmber it is a java application and you can pass > many > > variables that not formally supported by the application as jvm input > > setting or in the connector OPTS, does not have experience with this > > specfic source connector did something similar as work arounf for the > > mongodb sink connector before they fixed the support for ssl, so I do > > beleive its possible , its matter of guess try and see , 😉 but i do > > believe its possible > > > > בתאריך יום ו׳, 28 במאי 2021, 15:05, מאת sunil chaudhari < > > sunilmchaudhar...@gmail.com>: > > > > > Hello Ran, > > > Whatever link you have provided is the supported SINK connector. > > > It has all settings for SSL. > > > > > > The connector I am talking about is the Souce connector and its not > > > supported by Confluent. > > > If you see the documentation you will find that there is no setting for > > SSL > > > certs. > > > > > > https://github.com/DarioBalinzo/kafka-connect-elasticsearch-source > > > > > > > > > Thats where I am stuck. > > > > > > > > > Regards, > > > Sunil. > > > > > > On Fri, 28 May 2021 at 9:34 AM, Ran Lupovich <ranlupov...@gmail.com> > > > wrote: > > > > > > > > > > > > > > > > > name=elasticsearch-sinkconnector.class=io.confluent.connect.elasticsearch.ElasticsearchSinkConnectortasks.max=1topics=test-elasticsearch-sinkkey.ignore=trueconnection.url= > > > > https://localhost:9200type.name=kafka-connect > > > > > > > > > > > > > > elastic.security.protocol=SSLelastic.https.ssl.keystore.location=/home/directory/elasticsearch-6.6.0/config/certs/keystore.jkselastic.https.ssl.keystore.password=asdfasdfelastic.https.ssl.key.password=asdfasdfelastic.https.ssl.keystore.type=JKSelastic.https.ssl.truststore.location=/home/directory/elasticsearch-6.6.0/config/certs/truststore.jkselastic.https.ssl.truststore.password=asdfasdfelastic.https.ssl.truststore.type=JKSelastic.https.ssl.protocol=TLS > > > > > > > > > > > > בתאריך יום ו׳, 28 במאי 2021, 07:03, מאת Ran Lupovich < > > > > ranlupov...@gmail.com > > > > >: > > > > > > > > > > > > > > > > > > > https://docs.confluent.io/kafka-connect-elasticsearch/current/security.html > > > > > > > > > > בתאריך יום ו׳, 28 במאי 2021, 07:00, מאת sunil chaudhari < > > > > > sunilmchaudhar...@gmail.com>: > > > > > > > > > >> The configurations doesnt have provision for the truststore. Thats > > my > > > > >> concern. > > > > >> > > > > >> > > > > >> On Thu, 27 May 2021 at 10:47 PM, Ran Lupovich < > > ranlupov...@gmail.com> > > > > >> wrote: > > > > >> > > > > >> > For https connections you need to set truststore configuration > > > > >> parameters , > > > > >> > giving it jks with password , the jks needs the contain the > > > certficate > > > > >> of > > > > >> > CA that is signing your certifcates > > > > >> > > > > > >> > בתאריך יום ה׳, 27 במאי 2021, 19:55, מאת sunil chaudhari < > > > > >> > sunilmchaudhar...@gmail.com>: > > > > >> > > > > > >> > > Hi Ran, > > > > >> > > That problem is solved already. > > > > >> > > If you read complete thread and see that last problem is about > > > https > > > > >> > > connection. > > > > >> > > > > > > >> > > > > > > >> > > On Thu, 27 May 2021 at 8:01 PM, Ran Lupovich < > > > ranlupov...@gmail.com > > > > > > > > > >> > > wrote: > > > > >> > > > > > > >> > > > Try setting es.port = "9200" without quotes? > > > > >> > > > > > > > >> > > > בתאריך יום ה׳, 27 במאי 2021, 04:21, מאת sunil chaudhari < > > > > >> > > > sunilmchaudhar...@gmail.com>: > > > > >> > > > > > > > >> > > > > Hello team, > > > > >> > > > > Can anyone help me with this issue? > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > >> > > > > > > >> > > > > > >> > > > > > > > > > > https://github.com/DarioBalinzo/kafka-connect-elasticsearch-source/issues/44 > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > Regards, > > > > >> > > > > Sunil. > > > > >> > > > > > > > > >> > > > > > > > >> > > > > > > >> > > > > > >> > > > > > > > > > > > > > > >