HI,<br><br>I encountered the following error while trying to set up tls in ser.<br>When I start ser I get such error:<br>Feb 12 12:40:51 venom ser[26157]: tls: _init_tls_h:&nbsp; compiled&nbsp; with&nbsp; openssl&nbsp; version &quot;OpenSSL 0.9.8g 19 Oct 2007&quot; (0x0090807f), kerberos support: off, compression: on<br>
Feb 12 12:40:51 venom ser[26157]: tls: init_tls_h: installed openssl library version &quot;OpenSSL 0.9.8g 19 Oct 2007&quot; (0x0090807f), kerberos support: off,&nbsp; zlib compression: on&nbsp; compiler: gcc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -m64 -DL_ENDIAN -DTERMIO -O3 -Wa,--noexecstack -g -Wall -DMD32_REG_T=int -DMD5_ASM<br>
Feb 12 12:40:51 venom ser[26157]: ERROR: tls_init.c:366: Unable to set the memory allocation functions<br>Feb 12 12:40:51 venom ser[26157]: could not initialize tls, exiting...<br><br><br>Here is my config:<br># -- tls params --<br>
modparam(&quot;tls&quot;, &quot;config&quot;, &quot;/home/sip/ser/2.0/hsp/ca/tls.cfg&quot;)<br>modparam(&quot;tls&quot;, &quot;tls_force_run&quot;, 0)<br>modparam(&quot;tls&quot;, &quot;tls_log&quot;,3)<br>modparam(&quot;tls&quot;, &quot;handshake_timeout&quot;, 10)<br>
modparam(&quot;tls&quot;, &quot;send_timeout&quot;, 10)<br>modparam(&quot;tls&quot;, &quot;tls_disable_compression&quot;, 0)<br>#modparam(&quot;tls&quot;, &quot;private_key&quot;, &quot;/etc/certs/key.pem&quot;)<br>#modparam(&quot;tls&quot;, &quot;certificate&quot;, &quot;/etc/certs/cert.pem&quot;)<br>
#modparam(&quot;tls&quot;, &quot;ca_list&quot;, &quot;/etc/certs/ca_list.pem&quot;)<br>#modparam(&quot;tls&quot;, &quot;require_certificate&quot;, 0)<br>#modparam(&quot;tls&quot;, &quot;verify_certificate&quot;, 1)<br>#modparam(&quot;tls&quot;, &quot;tls_method&quot;, &quot;TLSv1&quot;)<br>
<br>and tls.cfg<br>[server:default]<br>method = TLSv1<br>verify_certificate = no<br>require_certificate = no<br>private_key = /home/sip/ser/2.0/hsp/ca/hsp_key.pem<br>certificate = /home/sip/ser/2.0/hsp/ca/hsp_cert.pem<br>
ca_list = /home/sip/ser/2.0/hsp/ca/hsp_calist.pem<br><br>[client:default]<br>verify_certificate = yes<br>require_certificate = yes<br><br>Please point me what did I miss if this is the right behaviour?<br><br>Kind regards<br>
Tomasz<br>