<p>It seems this error is related to the FIPS support in the opensuse openssl 1.0.x.</p>
<ul>
<li><a href="https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1594748" rel="nofollow">bug ubuntu</a></li>
<li><a href="https://bugs.python.org/issue18227" rel="nofollow">bug python</a></li>
</ul>
<p>$ openssl version<br>
OpenSSL 1.0.2j-fips  26 Sep 2016</p>
<p><a href="https://www.suse.com/c/fipsified/" rel="nofollow">Link suse.com</a></p>
<p>So as already mentioned, it seems that the openssl version shipped with Opensuse 42.3 is not usable for the tls module. Funny fact, if you disable the FIPS mode, openssl actually aborts directly:</p>
<p>export OPENSSL_FORCE_FIPS_MODE="0"<br>
$ LANG=C; openssl version -v<br>
fips.c(139): OpenSSL internal error, assertion failed: FATAL FIPS SELFTEST FAILURE<br>
Aborted (core dumped)</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/1797#issuecomment-453305163">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZeEToDZOlJdN_4uTuMQD2lsSSuHAks5vB9DHgaJpZM4Z2AmM">mute the thread</a>.<img src="https://github.com/notifications/beacon/AF36ZdB-LcILh8pe-G-RrGbLZ4tL0Tu-ks5vB9DHgaJpZM4Z2AmM.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@henningw in #1797: It seems this error is related to the FIPS support in the opensuse openssl 1.0.x.\r\n\r\n- [bug ubuntu](https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/1594748)\r\n- [bug python](https://bugs.python.org/issue18227)\r\n\r\n$ openssl version\r\nOpenSSL 1.0.2j-fips  26 Sep 2016\r\n\r\n[Link suse.com](https://www.suse.com/c/fipsified/)\r\n\r\nSo as already mentioned, it seems that the openssl version shipped with Opensuse 42.3 is not usable for the tls module. Funny fact, if you disable the FIPS mode, openssl actually aborts directly:\r\n\r\nexport OPENSSL_FORCE_FIPS_MODE=\"0\"\r\n$ LANG=C; openssl version -v\r\nfips.c(139): OpenSSL internal error, assertion failed: FATAL FIPS SELFTEST FAILURE\r\nAborted (core dumped)"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1797#issuecomment-453305163"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/1797#issuecomment-453305163",
"url": "https://github.com/kamailio/kamailio/issues/1797#issuecomment-453305163",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>