[OpenSIPS-Users] tls_mgm

Vlad Patrascu vladp at opensips.org
Fri Sep 7 09:19:54 EDT 2018


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




More information about the Users mailing list