<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&#39;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 &lt;<a href="mailto:tzieleniewski@gmail.com">tzieleniewski@gmail.com</a>&gt;:</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:&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>
<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>