Enable SSL for Kafka Clients
<p>Kafka allows clients to connect over SSL. By default SSL is disabled, but I have  enabled by referring the below link.
<a href="http://docs.confluent.io/2.0.0/kafka/ssl.html" rel="nofollow noreferrer">http://docs.confluent.io/2.0.0/kafka/ssl.html</a></p>

<p>After all configuration was done  ,Producer/Consumer unable to produce/consume the message.</p>

<pre><code>    [2016-02-29 09:20:49,189] ERROR Error when sending message to topic ssltopic with key: null, value: 2 bytes with error: Failed to update metadata after 60000 ms. (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback)
sas
[2016-02-29 09:21:16,031] WARN Failed to send SSL Close message  (org.apache.kafka.common.network.SslTransportLayer)
java.io.IOException: Connection reset by peer
</code></pre>