<br>Which other modules are you using? <br><br>There are some incompatibility between several modules using openssl because all of them tries to allocate the pointers to the hook functions and this is not possible. I'm not 100% sure but I think that presence and auth_identity are incompatible with tls module...<br>
<br>I posted some mails about this issue and I think docs were updated...<br><br>Hope it helps,<br>Samuel<br><br><div><span class="gmail_quote">2008/2/12, Tomasz Zieleniewski <<a href="mailto:tzieleniewski@gmail.com">tzieleniewski@gmail.com</a>>:</span><blockquote class="gmail_quote" style="margin-top: 0; margin-right: 0; margin-bottom: 0; margin-left: 0; margin-left: 0.80ex; border-left-color: #cccccc; border-left-width: 1px; border-left-style: solid; padding-left: 1ex">
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>
<span class="sg"> Tomasz<br></span><br>_______________________________________________<br>Serusers mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:Serusers@lists.iptel.org">Serusers@lists.iptel.org</a><br>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.iptel.org/mailman/listinfo/serusers" target="_blank">http://lists.iptel.org/mailman/listinfo/serusers</a><br><br></blockquote></div><br>