title: How to use Kafka with TLS peer verification turned off
body: <p>I'm testing kafka cluster creation using let's encrypt staging certs. After creating, on my machine, I run the kafka-provided <code>kafka-console-consumer.sh</code> and <code>kafka-console-producer.sh</code> scripts. When I ran with let's encrypt production, it worked fine. But now that I'm using staging certs, I get this when I run the producer:</p>
  
  <pre><code>ERROR [Producer clientId=console-producer] Connection to node -1 (2.kafka.mysite.com/10.1.17.191:9092) failed authentication due to: SSL handshake failed (org.apache.kafka.clients.NetworkClient)
  </code></pre>
  
  <p>I use these properties for producer script:</p>
  
  <pre><code>sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="kafka" password="secret";
  security.protocol=SASL_SSL
  sasl.mechanism=PLAIN
  </code></pre>
  
  <p>I'd like to give the option to ignore TLS, and I'd like it to be some parameter I can toggle (on the cluster or on the client) to allow it. How can I achieve this? For anyone familiar with Rabbitmq, I think it's similar to VERIFY_PEER=false, aka VERIFY_NONE.</p>