title: Error connecting to producer : Error: ssl.certificate.location failed
body: <p>Environment Information:</p>
  
  <ul>
  <li><p>OS [e.g. Mac, Arch, Windows 10]: Windows10</p></li>
  <li><p>Node Version [e.g. 8.2.1]:10.4.1</p></li>
  <li><p>NPM Version [e.g. 5.4.2]:6.4.1</p></li>
  <li><p>node-rdkafka version [e.g. 2.3.3]:2.5.1</p></li>
  </ul>
  
  <p>Steps to Reproduce</p>
  
  <p>node-rdkafka Configuration Settings:</p>
  
  <pre><code>var producer = new Kafka.Producer({
    'metadata.broker.list': 'ssl-enabled-host:port no',
    'dr_cb': true,
    'security.protocol': 'SSL',
    'ssl.key.location': 'test.key',   //path to the self signed certificate
    'ssl.certificate.location': 'test.crt',  //path to certificate key.
  });
  </code></pre>
  
  <p>Additional context : </p>
  
  <p>The kafka producer is SSL enabled. When tried connecting the broker without the security and SSL configuration in metadata it threw <code>Error:timeout</code>.
  Hence went ahead to add the configuration for enabling ssl and adding the path to SSL certificate and key as mentioned above in the configuration, but that didn ot work either throwing error which I am not able to understand below is the error:</p>
  
  <blockquote>
    <p>Error connecting to producer : Error: ssl.certificate.location failed:
    .\ssl\ssl_rsa.c:701: error:140DC002:SSL
    routines:SSL_CTX_use_certificate_chain_file:system lib:</p>
  </blockquote>