<p>Got the time to look at it -- so the SNI required that the default server profile has server_name attribute set in order to register the SNI callback. I pushed a commit (see the link above) to register SNI callback for server default profile always. I will backport and it will be in 5.2.3 release.</p>
<p>For older versions, you can set <code>server_name=localhost</code> or another domain that you use with default certificate or if you don't have one, set it to something unlikely to be used.</p>
<p>I did the basic tests, but if still an issue, reopen.</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/1938?email_source=notifications&email_token=ABO7UZPV6JBH7BGLDKI32ZLPWJSW3A5CNFSM4HILTDM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVYFMTQ#issuecomment-493901390">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZMVL64JODLJI5L6YHTPWJSW3ANCNFSM4HILTDMQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABO7UZNKM5OGAANHKAACSCTPWJSW3A5CNFSM4HILTDM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVYFMTQ.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/1938?email_source=notifications\u0026email_token=ABO7UZPV6JBH7BGLDKI32ZLPWJSW3A5CNFSM4HILTDM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVYFMTQ#issuecomment-493901390",
"url": "https://github.com/kamailio/kamailio/issues/1938?email_source=notifications\u0026email_token=ABO7UZPV6JBH7BGLDKI32ZLPWJSW3A5CNFSM4HILTDM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVYFMTQ#issuecomment-493901390",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>