[OpenSIPS-Users] tls_mgm

volga629 at networklab.ca volga629 at networklab.ca
Fri Sep 7 18:19:16 EDT 2018


Hello Vlad,
Thank you, config errors is resolved, but start up failing.

compat-openssl10-1.0.2o-1.fc27.x86_64
openssl-libs-1.1.0f-9.fc27.x86_64
openssl-1.1.0f-9.fc27.x86_64


Sep 7 17:15:01 vprx00 /usr/sbin/opensips[30576]: INFO:tls_mgm:mod_init: 
initializing TLS management
Sep 7 17:15:01 vprx00 /usr/sbin/opensips[30576]: INFO:tls_mgm:mod_init: 
openssl version: OpenSSL 1.1.0f-fips 25 May 2017
Sep 7 17:15:01 vprx00 /usr/sbin/opensips[30576]: 
ERROR:tls_mgm:mod_init: unable to set the memory allocation functions
Sep 7 17:15:01 vprx00 /usr/sbin/opensips[30576]: 
ERROR:tls_mgm:mod_init: NOTE: check if you are using openssl 
1.0.1e-fips, (or other FIPS version of openssl, as this is known to be 
broken; if so, you need to upgrade or downgrade to a different openssl 
version!
Sep 7 17:15:01 vprx00 /usr/sbin/opensips[30576]: ERROR:core:init_mod: 
failed to initialize module tls_mgm
Sep 7 17:15:01 vprx00 /usr/sbin/opensips[30576]: ERROR:core:main: error 
while initializing modules
Sep 7 17:15:01 vprx00 /usr/sbin/opensips[30576]: INFO:core:cleanup: 
cleanup

volga629

On Fri, Sep 7, 2018 at 10:19 AM, Vlad Patrascu <vladp at opensips.org> 
wrote:
> Hi Volga,
> 
> You are probably getting these errors because you are not providing 
> the TLS domain name in the parameter specifications. So all 
> parameters should look something like this:
> 
> modparam("tls_mgm", "tls_method", "[dom_name]TLSv1")
> 
> Regards,
> 
> Vlad Patrascu
> OpenSIPS Developer
> http://www.opensips-solutions.com
> 
> On 08/31/2018 05:15 PM, volga629 at networklab.ca wrote:
>> Hello Everyone,
>> Recent versions of opensips tls_mgm module give this error.
>> 
>> opensips-3.0.0.b33b7a7e7-2.fc27.x86_64
>> 
>> [root at vprx00 ~]# opensips -V
>> version: opensips 3.0.0-dev (x86_64/linux)
>> flags: STATS: On, SHM_EXTRA_STATS, DISABLE_NAGLE, USE_MCAST, 
>> SHM_MMAP, PKG_MALLOC, QM_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
>> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 
>> 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
>> poll method support: poll, epoll, sigio_rt, select.
>> git revision: b33b7a7e7
>> main.c compiled on 12:56:54 Aug 14 2018 with gcc 7
>> 
>> 
>> Aug 31 09:08:26 [14440] DBG:core:load_module: loading module 
>> /usr/lib64/opensips/modules/proto_hep.so
>> Aug 31 09:08:26 [14440] DBG:core:load_module: loading module 
>> /usr/lib64/opensips/modules/proto_tls.so
>> Aug 31 09:08:26 [14440] DBG:core:add_module_dependency: adding type 
>> 2 dependency proto_tls - (module tls_mgm)
>> Aug 31 09:08:26 [14440] DBG:core:add_module_dependency: adding type 
>> 0 dependency proto_tls - (module proto_hep)
>> Aug 31 09:08:26 [14440] DBG:core:load_module: loading module 
>> /usr/lib64/opensips/modules/tls_mgm.so
>> Aug 31 09:08:26 [14440] DBG:core:register_module: register_pv: 
>> tls_mgm
>> Aug 31 09:08:26 [14440] DBG:core:set_mod_param_regex: tls_mgm 
>> matches module tls_mgm
>> Aug 31 09:08:26 [14440] DBG:core:set_mod_param_regex: found 
>> <tls_method> in module tls_mgm [/usr/lib64/opensips/modules/]
>> Aug 31 09:08:26 [14440] ERROR:tls_mgm:split_param_val: No TLS domain 
>> name
>> Aug 31 09:08:26 [14440] CRITICAL:core:yyerror: parse error in config 
>> file /etc/opensips/opensips.cfg, line 205, column 18-19: Parameter 
>> <tls_method> not found in module <tls_mgm> - can't set
>> Aug 31 09:08:26 [14440] DBG:core:set_mod_param_regex: tls_mgm 
>> matches module tls_mgm
>> Aug 31 09:08:26 [14440] DBG:core:set_mod_param_regex: found 
>> <verify_cert> in module tls_mgm [/usr/lib64/opensips/modules/]
>> Aug 31 09:08:26 [14440] ERROR:tls_mgm:split_param_val: No TLS domain 
>> name
>> Aug 31 09:08:26 [14440] CRITICAL:core:yyerror: parse error in config 
>> file /etc/opensips/opensips.cfg, line 206, column 18-19: Parameter 
>> <verify_cert> not found in module <tls_mgm> - can't set
>> Aug 31 09:08:26 [14440] DBG:core:set_mod_param_regex: tls_mgm 
>> matches module tls_mgm
>> Aug 31 09:08:26 [14440] DBG:core:set_mod_param_regex: found 
>> <require_cert> in module tls_mgm [/usr/lib64/opensips/modules/]
>> Aug 31 09:08:26 [14440] ERROR:tls_mgm:split_param_val: No TLS domain 
>> name
>> Aug 31 09:08:26 [14440] CRITICAL:core:yyerror: parse error in config 
>> file /etc/opensips/opensips.cfg, line 207, column 18-19: Parameter 
>> <require_cert> not found in module <tls_mgm> - can't set
>> Aug 31 09:08:26 [14440] DBG:core:set_mod_param_regex: tls_mgm 
>> matches module tls_mgm
>> Aug 31 09:08:26 [14440] DBG:core:set_mod_param_regex: found 
>> <certificate> in module tls_mgm [/usr/lib64/opensips/modules/]
>> Aug 31 09:08:26 [14440] ERROR:tls_mgm:split_param_val: No TLS domain 
>> name
>> Aug 31 09:08:26 [14440] CRITICAL:core:yyerror: parse error in config 
>> file /etc/opensips/opensips.cfg, line 208, column 18-19: Parameter 
>> <certificate> not found in module <tls_mgm> - can't set
>> Aug 31 09:08:26 [14440] DBG:core:set_mod_param_regex: tls_mgm 
>> matches module tls_mgm
>> Aug 31 09:08:26 [14440] DBG:core:set_mod_param_regex: found 
>> <private_key> in module tls_mgm [/usr/lib64/opensips/modules/]
>> Aug 31 09:08:26 [14440] ERROR:tls_mgm:split_param_val: No TLS domain 
>> name
>> Aug 31 09:08:26 [14440] CRITICAL:core:yyerror: parse error in config 
>> file /etc/opensips/opensips.cfg, line 209, column 18-19: Parameter 
>> <private_key> not found in module <tls_mgm> - can't set
>> Aug 31 09:08:26 [14440] DBG:core:set_mod_param_regex: tls_mgm 
>> matches module tls_mgm
>> Aug 31 09:08:26 [14440] DBG:core:set_mod_param_regex: found 
>> <ca_list> in module tls_mgm [/usr/lib64/opensips/modules/]
>> Aug 31 09:08:26 [14440] ERROR:tls_mgm:split_param_val: No TLS domain 
>> name
>> Aug 31 09:08:26 [14440] CRITICAL:core:yyerror: parse error in config 
>> file /etc/opensips/opensips.cfg, line 210, column 18-19: Parameter 
>> <ca_list> not found in module <tls_mgm> - can't set
>> Aug 31 09:08:26 [14440] DBG:core:set_mod_param_regex: tls_mgm 
>> matches module tls_mgm
>> Aug 31 09:08:26 [14440] DBG:core:set_mod_param_regex: found <ca_dir> 
>> in module tls_mgm [/usr/lib64/opensips/modules/]
>> Aug 31 09:08:26 [14440] ERROR:tls_mgm:split_param_val: No TLS domain 
>> name
>> Aug 31 09:08:26 [14440] CRITICAL:core:yyerror: parse error in config 
>> file /etc/opensips/opensips.cfg, line 211, column 18-19: Parameter 
>> <ca_dir> not found in module <tls_mgm> - can't set
>> Aug 31 09:08:26 [14440] DBG:core:set_mod_param_regex: tls_mgm 
>> matches module tls_mgm
>> Aug 31 09:08:26 [14440] DBG:core:set_mod_param_regex: found 
>> <ciphers_list> in module tls_mgm [/usr/lib64/opensips/modules/]
>> Aug 31 09:08:26 [14440] ERROR:tls_mgm:split_param_val: No TLS domain 
>> name
>> Aug 31 09:08:26 [14440] CRITICAL:core:yyerror: parse error in config 
>> file /etc/opensips/opensips.cfg, line 212, column 18-19: Parameter 
>> <ciphers_list> not found in module <tls_mgm> - can't set
>> 
>> 
>> 
>> Any help thank you
>> 
>> volga629
>> 
>> 
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list