[SR-Users] Trouble initializing TLS on Fedora 23

Daniel-Constantin Mierla miconda at gmail.com
Tue Jan 5 19:32:32 CET 2016


Hello,

On 02/01/16 03:11, Anthony Messina wrote:
> On Friday, January 01, 2016 04:43:56 PM Bruce Ferrell wrote:
>> On 01/01/2016 03:34 PM, Anthony Messina wrote:
>>> Happy New Year!
>>>
>>> I've just upgraded my Kamailio (build from master at c7e411e) instance to
>>> Fedora  23 from Fedora 22.  I've built the packages specifically for
>>> Fedora 23 with the following current sources:
>>>
>>> openssl-1.0.2e-3.fc23.x86_64
>>> openssl-libs-1.0.2e-3.fc23.x86_64
>>>
>>> openssl version reports...
>>> OpenSSL 1.0.2e-fips 3 Dec 2015
>>>
>>> Even so, the following error occurs.  It seems like Kamailio having
>>> trouble  detecting that I'm using running with the same version that I
>>> have installed, and the same version that I have compiled against.
>>>
>>> tls [tls_init.c:557]: init_tls_h(): ERROR: tls: init_tls_h: installed
>>> openssl  library version is too different from the library the Kamailio
>>> tls module was compiled with: installed "OpenSSL 1.0.0-fips 29 Mar 2010"
>>> (0x10000003), compiled "OpenSSL 1.0.2d-fips 9 Jul 2015" (0x1000204f).
>>>
>>>                                                       Please make sure a 
>>>
>>> compatible version is used (tls_force_run in kamailio.cfg will override
>>> this  check)
>>>
>>>  
>>>
>>> CRITICAL: <core> [main.c:2558]: main(): could not initialize tls,
>>> exiting...
>>>
>>> Any pointers?  -A
>> Anthony,
>>
>> When you did the build, it found another openssl on the system.  for starts,
>> I'd try ldd on the Kamailio binaries/libraries.  Make sure you don't have
>> any from previous builds hanging around... I've been bit by that more than
>> once
> Thanks Bruce. The strange thing is that I build the RPMs in a Koji/Mock 
> instance which should yield a clean buildroot for each build. I'll continue 
> digging further. -A
the issue is that the lib on target system is different than the lib on
built system. Are you using same OS for building as for the target machine?

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
http://miconda.eu




More information about the sr-users mailing list