<p>After some tests I was able to reproduce the issue with tls_verify_client = 0 and tls_require_client_certificate = 0 The error now is:<br>
"ERROR:core:tls_print_errstack: TLS errstack: error:14094418:SSL routines:SSL3_READ_BYTES:tlsv1 alert unknown ca"</p>

<p>Always is reproducible after some tests with a bit of load in the proxy. I was not able to reproduce with only two registered AORs. Maybe (only a supposition) the ssl buffer can be modified by other process while reading and the data is corrupted?</p>

<p>In case it can help, here a new paste with debug=6 <a href="http://pastebin.com/vCmitj0m">http://pastebin.com/vCmitj0m</a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/670#issuecomment-148027341">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOcie1j12BERdl69z_OE48Fp0iDGGEoks5o7jpCgaJpZM4GMOoH.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/OpenSIPS/opensips/issues/670#issuecomment-148027341"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>