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: compiled with openssl version "OpenSSL 0.9.8g 19 Oct 2007" (0x0090807f), kerberos support: off, compression: on<br>
Feb 12 12:40:51 venom ser[26157]: tls: init_tls_h: installed openssl library version "OpenSSL 0.9.8g 19 Oct 2007" (0x0090807f), kerberos support: off, zlib compression: on 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("tls", "config", "/home/sip/ser/2.0/hsp/ca/tls.cfg")<br>modparam("tls", "tls_force_run", 0)<br>modparam("tls", "tls_log",3)<br>modparam("tls", "handshake_timeout", 10)<br>
modparam("tls", "send_timeout", 10)<br>modparam("tls", "tls_disable_compression", 0)<br>#modparam("tls", "private_key", "/etc/certs/key.pem")<br>#modparam("tls", "certificate", "/etc/certs/cert.pem")<br>
#modparam("tls", "ca_list", "/etc/certs/ca_list.pem")<br>#modparam("tls", "require_certificate", 0)<br>#modparam("tls", "verify_certificate", 1)<br>#modparam("tls", "tls_method", "TLSv1")<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>