<div dir="ltr">Hi list.<div><br></div><div>I tried to install opensips 2.1 on Centos 6.7 from repo with TLS and it's work fine. openssl version on Centos:</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">OpenSSL 1.0.1e-fips 11 Feb 2013<br></blockquote><div><br></div><div>Also, I tried to update openssl on Debian and make it from source (OpenSSL 1.0.1p 9 Jul 2015), but still have same error on startup.</div><div><br></div><div> </div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">____________<div>С уважением,</div><div>Павлов Игорь</div><div>RingCloud</div></div></div></div>
<br><div class="gmail_quote">2015-10-09 14:33 GMT+04:00 Игорь Павлов <span dir="ltr"><<a href="mailto:i.p@ringcloud.ru" target="_blank">i.p@ringcloud.ru</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">My opensips installed from debian repo.<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">deb <a href="http://apt.opensips.org/debian/stable-2.1/jessie" target="_blank">http://apt.opensips.org/debian/stable-2.1/jessie</a> opensips-2.1-jessie main</blockquote><div><br></div><div>Full output of opensips -V :</div><span class=""><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">version: opensips 2.1.0 (x86_64/linux)<br>flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT<br>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535<br>poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.<br>main.c compiled on 13:55:32 Aug 19 2015 with gcc 4.9.2</blockquote></div><div><br></div></span><div>Openssl version:<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">OpenSSL 1.0.1k 8 Jan 2015</blockquote><div><br></div><div>My OS:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Debian 8 </blockquote><div><br></div><div>Kernel:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Linux vs01 2.6.32-042stab108.8 #1 SMP Wed Jul 22 17:23:23 MSK 2015 x86_64 GNU/Linux </blockquote><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr">____________<div>С уважением,</div><div>Павлов Игорь</div><div>RingCloud</div></div></div></div><div><div class="h5">
<br><div class="gmail_quote">2015-10-09 14:24 GMT+04:00 Răzvan Crainea <span dir="ltr"><<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<tt>Can you send me the git version of your sources (full output of
opensips -V).<br>
Also, what version of openssl are you using?<br>
<br>
Best regards,<br>
</tt><span>
<pre cols="72">Răzvan Crainea
OpenSIPS Solutions
<a href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
</span><div><div><div>On 10/09/2015 10:21 AM, Игорь Павлов
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Sorry, forgot it.
<div><br>
</div>
<div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">#
opensips -V<br>
version: opensips 2.1.0 (x86_64/linux)<br>
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP,
PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT<br>
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144,
MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535<br>
poll method support: poll, epoll_lt, epoll_et, sigio_rt,
select.<br>
main.c compiled on 13:55:32 Aug 19 2015 with gcc 4.9.2</blockquote>
</div>
<div><br>
</div>
<div class="gmail_extra"><br clear="all">
<div>
<div>
<div dir="ltr">____________
<div>Best regards,</div>
<div>Igor Pavlov</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">2015-10-09 11:16 GMT+04:00 Răzvan
Crainea <span dir="ltr"><<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <tt>What version
of OpenSIPS are you using? Can you please send us the
output of 'opensips -v'.<br>
<br>
Best regards,<br>
</tt>
<pre cols="72">Răzvan Crainea
OpenSIPS Solutions
<a href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
<div>
<div>
<div>On 10/09/2015 10:07 AM, Игорь Павлов wrote:<br>
</div>
</div>
</div>
<blockquote type="cite">
<div>
<div>
<div dir="ltr">Hi list, I have a problem with
using TLS. My opensips doesn't want to start.
Error on startup with debug=6:
<div><br>
</div>
<div>
<div>Oct 9 10:02:10 vs01
/usr/sbin/opensips[13521]: <a></a><a>INFO:proto_tls:mod_init</a>:
initializing TLS protocol</div>
<div>Oct 9 10:02:10 vs01
/usr/sbin/opensips[13521]:
ERROR:proto_tls:mod_init: unable to set the
memory allocation functions</div>
<div>Oct 9 10:02:10 vs01
/usr/sbin/opensips[13521]:
ERROR:core:init_mod: failed to initialize
module proto_tls</div>
<div>Oct 9 10:02:10 vs01
/usr/sbin/opensips[13521]: ERROR:core:main:
error while initializing modules</div>
<div><br>
</div>
<div>My TLS cfg:</div>
<div><br>
</div>
<div>listen=tls:<a href="http://192.168.100.100:5066" target="_blank">192.168.100.100:5066</a><br>
</div>
<div><br>
</div>
<div>
<div>loadmodule "proto_tls.so"</div>
<div>modparam("proto_tls", "verify_cert",
"0")</div>
<div>modparam("proto_tls", "require_cert",
"0")</div>
<div>modparam("proto_tls", "ciphers_list",
"NULL").</div>
<div>modparam("proto_tls", "tls_method",
"TLSv1").</div>
<div>modparam("proto_tls", "server_domain",
"sv_dom=<a href="http://192.168.100.100:5066" target="_blank">192.168.100.100:5066</a>")</div>
<div>modparam("proto_tls", "certificate",
"/etc/opensips/<a href="http://example.com/tls/example.com.crt" target="_blank">example.com/tls/example.com.crt</a>")...........</div>
<div>modparam("proto_tls", "private_key",
"/etc/opensips/<a href="http://example.com/tls/example.com.key" target="_blank">example.com/tls/example.com.key</a>")....</div>
<div>modparam("proto_tls", "ca_list",
"/etc/opensips/<a href="http://example.com/tls/example.com.crt" target="_blank">example.com/tls/example.com.crt</a>")................</div>
<div>modparam("proto_tls", "ca_dir",
"/etc/opensips/<a href="http://example.com/tls/" target="_blank">example.com/tls/</a>")</div>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">____________
<div>Best regards,</div>
<div>Igor Pavlov</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
</div>
</div>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>