<p>After various adventures around this, I finally tried to upgrade libmysqlclient (or Connector/C) but that didn't do the work. Then I tried switching compiling libmysqclient with OpenSSL instead of the bundled yaSSL, and now it works just fine, no more SSL errors!</p>

<p>So, many hours down the drain, but not an issue in Kamailio. Closing this issue. Thanks all for your help!</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/406#issuecomment-185743396">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZV9dPiFszggNF2RvnkZBSBShfIe2ks5plcsmgaJpZM4Gmb_R.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/kamailio/kamailio/issues/406#issuecomment-185743396"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>