Description

Ubuntu Bionic 18.04.02 LTS ships with "OpenSSL 1.1.1 11 Sep 2018" (0x1010100f), whereas the kamailio-tls-modules package is compiled with "OpenSSL 1.1.0g 2 Nov 2017" (0x1010007f).

I installed Kamailio from the Kamailio repositories (not from the Ubuntu repositories).

This leads to Kamailio being unable to start as it complains about the OpenSSL versions being too different from each other.

Overriding the OpenSSl version check by enabling tls_force_run does not solve the issue, instead, it leads to Kamailio emitting multiple errors.

Reproduction

I installed Kamailio from the official Kamailio apt sources (nightly build, the same occurs for the latest stable version 5.2).

deb     http://deb.kamailio.org/kamailiodev-nightly bionic main
deb-src http://deb.kamailio.org/kamailiodev-nightly bionic main

I enabled TLS and edited the configuration files accordingly.

(paste your debugging data here)

Log Messages

CRITICAL: tls [tls_init.c:677]: init_tls_h(): installed openssl library version is too different from the library the kamailio tls module was compiled with: installed "OpenSSL 1.1.1  11 Sep 2018" (0x1010100f), compiled "OpenSSL 1.1.0g  2 Nov 2017" (0x1010007f).#012 Please make sure a compatible version is used (tls_force_run in kamailio.cfg will override this check)

Possible Solutions

Recompile and publish the kamailio-tls-modules package compiled with OpenSSL 1.1.1b.

Additional Information

version: kamailio 5.3.0-dev6 (x86_64/linux) 
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown 
compiled with gcc 7.3.0
Linux hostname 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Description:	Ubuntu 18.04.2 LTS
Release:	18.04


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.