How to set up Kafka Connect to deploy an MQTT connector with TLS Connection using Self Signed Certificates
CA.crt: Root Cert with complete ca-chain needed for the connection User.crt: User certificate User.key: User key-pair
First locate the JVM you are using to launch Kafka Connect. If the JVM is the default system’s JVM then JAVA_HOME env will do
Then import the root cert (CA.crt) specific jvm cacerts truststore
keytool -importcert -file /path/to/CA.crt -keystore "${JAVA_HOME}/lib/security/cacerts"
On this page