<p></p>
<p dir="auto">I got a bit of time to look at it on an Ubuntu 20.04 and it seems a similar case to one that was solved a while ago:</p>
<ul dir="auto">
<li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="750011013" data-permission-text="Title is private" data-url="https://github.com/kamailio/kamailio/issues/2560" data-hovercard-type="issue" data-hovercard-url="/kamailio/kamailio/issues/2560/hovercard?comment_id=777590116&comment_type=issue_comment" href="https://github.com/kamailio/kamailio/issues/2560#issuecomment-777590116">#2560 (comment)</a></li>
</ul>
<p dir="auto">In short, kamailio has to be started with <code>--atexit=no</code> cli param.</p>
<p dir="auto">I added a note in the readme of the tls module:</p>
<ul dir="auto">
<li><a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/kamailio/kamailio/commit/8dc18cab5bc32c1d34a9113242d230b7458d4075/hovercard" href="https://github.com/kamailio/kamailio/commit/8dc18cab5bc32c1d34a9113242d230b7458d4075"><tt>8dc18ca</tt></a></li>
</ul>
<p dir="auto">I tested with the minimal config from the description of this issues, it crashes without <code>--atexit=no</code> and with it goes till errors related to not finding the certificate/key files.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2912#issuecomment-993524079">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZP5FV5EHYJYGQGVAM3UQ466DANCNFSM5G7OJ4EQ">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/ABO7UZP3HDB6RRADCGUMO73UQ466DA5CNFSM5G7OJ4E2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHM37S3Y.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2912#issuecomment-993524079",
"url": "https://github.com/kamailio/kamailio/issues/2912#issuecomment-993524079",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>