<div dir="ltr">Hi, <div><br></div><div>try setting the peer-verify option to required-untrusted (<a href="https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html/tlsoptions.html#tls-options-peer-verify">https://www.balabit.com/sites/default/files/documents/syslog-ng-ose-latest-guides/en/syslog-ng-ose-guide-admin/html/tlsoptions.html#tls-options-peer-verify</a>)</div><div><br></div><div>HTH, </div><div>Robert</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 11, 2016 at 2:28 PM, Girish Kumar <span dir="ltr">&lt;<a href="mailto:girish.kumar@al-enterprise.com" target="_blank">girish.kumar@al-enterprise.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Hi All,<u></u><u></u></p>
<p class="MsoNormal">I am getting following error while starting syslog-ng with tls option. Could you please help me  on this<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:.5in"><b>Mar 12 18:14:24 (none) syslog-ng[6136]: Syslog connection established; fd=&#39;5&#39;, server=&#39;AF_INET(10.135.83.103:6514)&#39;, local=&#39;AF_INET(<a href="http://0.0.0.0:0" target="_blank">0.0.0.0:0</a>)&#39;<u></u><u></u></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b>Mar 12 18:14:24 (none) syslog-ng[6136]: Certificate validation failed; subject=&#39;emailAddress=<a href="mailto:giri@gmail.com" target="_blank">giri@gmail.com</a>, CN=girish kumar, OU=esd, O=enterprise, L=BAN, ST=KA, C=IN&#39;, issuer=&#39;emailAddress=<a href="mailto:giri@gmail.com" target="_blank">giri@gmail.com</a>, CN=girish
 kumar, OU=esd, O=enterprise, L=BAN, ST=KA, C=IN&#39;, error=&#39;self signed certificate in certificate chain&#39;, depth=&#39;1&#39;<u></u><u></u></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b>Mar 12 18:14:24 (none) syslog-ng[6136]: SSL error while writing stream; tls_error=&#39;SSL routines:ssl3_get_server_certificate:certificate verify failed&#39;<u></u><u></u></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b>Mar 12 18:14:24 (none) syslog-ng[6136]: I/O error occurred while writing; fd=&#39;5&#39;, error=&#39;Broken pipe (32)&#39;<u></u><u></u></b></p>
<p class="MsoNormal" style="margin-left:.5in"><b>Mar 12 18:14:24 (none) syslog-ng[6136]: Syslog connection broken; fd=&#39;5&#39;, server=&#39;AF_INET(10.135.83.103:6514)&#39;, time_reopen=&#39;60&#39;<u></u><u></u></b></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">//server conf<u></u><u></u></p>
<p class="MsoNormal">source d_source {<u></u><u></u></p>
<p class="MsoNormal">          #syslog(ip(&quot;<a href="http://mysyslog.server.com" target="_blank">mysyslog.server.com</a>&quot;) port(6514)<u></u><u></u></p>
<p class="MsoNormal">          syslog(ip(&quot;10.135.83.103&quot;) port(6514)<u></u><u></u></p>
<p class="MsoNormal">                    transport(&quot;tls&quot;)<u></u><u></u></p>
<p class="MsoNormal">             tls( key_file(&quot;/etc/cert.d/mySerPrivate.key&quot;)<u></u><u></u></p>
<p class="MsoNormal">             cert_file(&quot;/etc/cert.d/mySerCert.pem&quot;)<u></u><u></u></p>
<p class="MsoNormal">             ca_dir(&quot;/etc/ca.d&quot;)<u></u><u></u></p>
<p class="MsoNormal">             ssl-options(no-sslv2, no-sslv3, no-tlsv1, no-tlsv11)<u></u><u></u></p>
<p class="MsoNormal">        )<u></u><u></u></p>
<p class="MsoNormal">    );<u></u><u></u></p>
<p class="MsoNormal">};<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">//Client conf<u></u><u></u></p>
<p class="MsoNormal">destination d_destination {                                                 
<u></u><u></u></p>
<p class="MsoNormal">    #syslog(&quot;<a href="http://mysyslog.server.com" target="_blank">mysyslog.server.com</a>&quot; port(6514)                     
<u></u><u></u></p>
<p class="MsoNormal">    syslog(&quot;10.135.83.103&quot; port(6514)     <u></u><u></u></p>
<p class="MsoNormal">                        transport(&quot;tls&quot;)    <u></u><u></u></p>
<p class="MsoNormal">        tls( ca_dir(&quot;/etc/ca.d&quot;)            <u></u><u></u></p>
<p class="MsoNormal">         key_file(&quot;/etc/cert.d/myCliPrivate.key&quot;)<u></u><u></u></p>
<p class="MsoNormal">         cert_file(&quot;/etc/cert.d/myCliCert.pem&quot;)  <u></u><u></u></p>
<p class="MsoNormal">         ssl-options(no-sslv2, no-sslv3, no-tlsv1, no-tlsv11)<u></u><u></u></p>
<p class="MsoNormal">         )                                                  
<u></u><u></u></p>
<p class="MsoNormal">    );                                                       <u></u><u></u></p>
<p class="MsoNormal">};         <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Regard,<u></u><u></u></p>
<p class="MsoNormal">Girish<u></u><u></u></p>
</div>
</div>

<br>______________________________________________________________________________<br>
Member info: <a href="https://lists.balabit.hu/mailman/listinfo/syslog-ng" rel="noreferrer" target="_blank">https://lists.balabit.hu/mailman/listinfo/syslog-ng</a><br>
Documentation: <a href="http://www.balabit.com/support/documentation/?product=syslog-ng" rel="noreferrer" target="_blank">http://www.balabit.com/support/documentation/?product=syslog-ng</a><br>
FAQ: <a href="http://www.balabit.com/wiki/syslog-ng-faq" rel="noreferrer" target="_blank">http://www.balabit.com/wiki/syslog-ng-faq</a><br>
<br>
<br></blockquote></div><br></div>