Sergey,

Is the build toolchain for the RPM packages using an old version of openssl?
I am seeing incompatibility errors when testing with 5.8.1 RPM and openssl-devel from system, or appstream repos.

These are the version differences I see in the logs:

CRITICAL: tls [tls_init.c:870]: tls_h_mod_init_f(): installed openssl library version is too different from the library the kamailio tls module was compiled with: installed "OpenSSL 3.2.1 30 Jan 2024" (0x30200010), compiled "OpenSSL 3.0.7 1 Nov 2022" (0x30000070).#012 Please make sure a compatible version is used (tls_force_run in kamailio.cfg will override this check)

Here is what I see in the system RPMs for openssl on centos9:

[root@cent9-v075 ~]# dnf info openssl-devel
Last metadata expiration check: 0:03:11 ago on Tue 21 May 2024 08:31:12 PM UTC.
Installed Packages
Name         : openssl-devel
Epoch        : 1
Version      : 3.2.1
Release      : 1.el9
Architecture : x86_64
Size         : 4.9 M
Source       : openssl-3.2.1-1.el9.src.rpm
Repository   : @System
From repo    : appstream
Summary      : Files for development of applications which will use OpenSSL
URL          : http://www.openssl.org/
License      : ASL 2.0
Description  : OpenSSL is a toolkit for supporting cryptography. The openssl-devel
             : package contains include files needed to develop applications which
             : support various cryptographic algorithms and protocols.

Regards,

Tyler Moore
Full Stack Software Engineer
dOpenSource
Office: 888-907-2085, ext: 34
Cell: 248-909-2769
Email: tmoore@dopensource.com