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