<p></p>
<p dir="auto">I reproduce the problem with the minimal Kamailio configuration (<a href="https://github.com/kamailio/kamailio/blob/master/misc/examples/mixed/kamailio-minimal-proxy.cfg">here</a>) by adding the following lines:</p>
<pre class="notranslate"><code class="notranslate">/* add local domain aliases */
alias="euler.local"

/* listen addresses */
enable_tls=yes
listen=tls:192.168.0.11:5061
loadmodule "tls"
modparam("tls", "private_key", "/home/euclid/etc/certs/local/privkey.pem")
modparam("tls", "certificate", "/home/euclid/etc/certs/local/kamailio1_cert.pem")
loadmodule "db_mysql"
loadmodule "sqlops"
modparam("sqlops","sqlcon","euler=>mysql://[euclid]/euler")
</code></pre>
<p dir="auto">Of course, other resources are needed:</p>
<ul dir="auto">
<li>database certificates: <code class="notranslate">ca-cert.pem  client-cert.pem  client-key.pem  server-cert.pem  server-key.pem</code></li>
<li>database (mariadb in my case) launched with SSL</li>
<li>Kamailio certificates: <code class="notranslate">privkey.pem kamailio1_cert.pem</code></li>
<li><code class="notranslate">/etc/mysql/conf.d/my.cnf</code> with the <code class="notranslate">[euclid]</code> section (mentioned earlier as ... <code class="notranslate">euler</code>)</li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/3115#issuecomment-1130108018">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZL3ZDAXDQ4SOQLO6O3VKT6Z3ANCNFSM5WH3XHJQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/ABO7UZKWDEGSCEJSO46VQIDVKT6Z3A5CNFSM5WH3XHJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOINOBI4Q.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><kamailio/kamailio/issues/3115/1130108018</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/3115#issuecomment-1130108018",
"url": "https://github.com/kamailio/kamailio/issues/3115#issuecomment-1130108018",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>