[OpenSIPS-Users] TLS fail to start, unable to set the memory allocation functions

Răzvan Crainea razvan at opensips.org
Fri Oct 9 09:16:05 CEST 2015


What version of OpenSIPS are you using? Can you please send us the 
output of 'opensips -v'.

Best regards,

Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com

On 10/09/2015 10:07 AM, Игорь Павлов wrote:
> Hi list, I have a problem with using TLS. My opensips doesn't want to 
> start. Error on startup with debug=6:
>
> Oct  9 10:02:10 vs01 /usr/sbin/opensips[13521]: 
> INFO:proto_tls:mod_init: initializing TLS protocol
> Oct  9 10:02:10 vs01 /usr/sbin/opensips[13521]: 
> ERROR:proto_tls:mod_init: unable to set the memory allocation functions
> Oct  9 10:02:10 vs01 /usr/sbin/opensips[13521]: ERROR:core:init_mod: 
> failed to initialize module proto_tls
> Oct  9 10:02:10 vs01 /usr/sbin/opensips[13521]: ERROR:core:main: error 
> while initializing modules
>
> My TLS cfg:
>
> listen=tls:192.168.100.100:5066 <http://192.168.100.100:5066>
>
> loadmodule "proto_tls.so"
> modparam("proto_tls", "verify_cert", "0")
> modparam("proto_tls", "require_cert", "0")
> modparam("proto_tls", "ciphers_list", "NULL").
> modparam("proto_tls", "tls_method", "TLSv1").
> modparam("proto_tls", "server_domain", "sv_dom=192.168.100.100:5066 
> <http://192.168.100.100:5066>")
> modparam("proto_tls", "certificate", 
> "/etc/opensips/example.com/tls/example.com.crt 
> <http://example.com/tls/example.com.crt>")...........
> modparam("proto_tls", "private_key", 
> "/etc/opensips/example.com/tls/example.com.key 
> <http://example.com/tls/example.com.key>")....
> modparam("proto_tls", "ca_list", 
> "/etc/opensips/example.com/tls/example.com.crt 
> <http://example.com/tls/example.com.crt>")................
> modparam("proto_tls", "ca_dir", "/etc/opensips/example.com/tls/ 
> <http://example.com/tls/>")
>
> ____________
> Best regards,
> Igor Pavlov
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20151009/febfca49/attachment.htm>


More information about the Users mailing list