<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"><<a href="mailto:girish.kumar@al-enterprise.com" target="_blank">girish.kumar@al-enterprise.com</a>></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='5', server='AF_INET(10.135.83.103:6514)', local='AF_INET(<a href="http://0.0.0.0:0" target="_blank">0.0.0.0:0</a>)'<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='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', issuer='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', error='self signed certificate in certificate chain', depth='1'<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='SSL routines:ssl3_get_server_certificate:certificate verify failed'<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='5', error='Broken pipe (32)'<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='5', server='AF_INET(10.135.83.103:6514)', time_reopen='60'<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("<a href="http://mysyslog.server.com" target="_blank">mysyslog.server.com</a>") port(6514)<u></u><u></u></p>
<p class="MsoNormal"> syslog(ip("10.135.83.103") port(6514)<u></u><u></u></p>
<p class="MsoNormal"> transport("tls")<u></u><u></u></p>
<p class="MsoNormal"> tls( key_file("/etc/cert.d/mySerPrivate.key")<u></u><u></u></p>
<p class="MsoNormal"> cert_file("/etc/cert.d/mySerCert.pem")<u></u><u></u></p>
<p class="MsoNormal"> ca_dir("/etc/ca.d")<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("<a href="http://mysyslog.server.com" target="_blank">mysyslog.server.com</a>" port(6514)
<u></u><u></u></p>
<p class="MsoNormal"> syslog("10.135.83.103" port(6514) <u></u><u></u></p>
<p class="MsoNormal"> transport("tls") <u></u><u></u></p>
<p class="MsoNormal"> tls( ca_dir("/etc/ca.d") <u></u><u></u></p>
<p class="MsoNormal"> key_file("/etc/cert.d/myCliPrivate.key")<u></u><u></u></p>
<p class="MsoNormal"> cert_file("/etc/cert.d/myCliCert.pem") <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>