[OpenSIPS-Users] Teams TLS Error

Mark Farmer farmorg at gmail.com
Fri Nov 13 14:46:28 EST 2020


Hi everyone

OpenSIPS 3.1.0

I am following the OpenSIPS as Teams SBC guide and have added the TLS
config:

modparam("tls_mgm","verify_cert", "1")
modparam("tls_mgm","require_cert", "1")
modparam("tls_mgm","tls_method", "TLSv1_2")
modparam("tls_mgm","certificate", "/usr/local/etc/opensips/tls/myCert.pem")
modparam("tls_mgm","private_key", "/usr/local/etc/opensips/tls/myKey.key")
modparam("tls_mgm", "ca_dir", "/etc/ssl/certs")

But I am seeing a TLS domain error:

Nov 13 14:36:50 [175314] ERROR:tls_mgm:split_param_val: No TLS domain name
Nov 13 14:36:50 [175314] Traceback (last included file at the bottom):
Nov 13 14:36:50 [175314]  0. /usr/local//etc/opensips/opensips.cfg
Nov 13 14:36:50 [175314] CRITICAL:core:yyerror: parse error in
/usr/local//etc/opensips/opensips.cfg:191:19-20: Parameter <verify_cert>
not found in module <tls_mgm> - can't set
Nov 13 14:36:50 [175314] #modparam("tls_mgm", "require_cert", "[dom4]1")
Nov 13 14:36:50 [175314]
Nov 13 14:36:50 [175314] modparam("tls_mgm","verify_cert", "1")
Nov 13 14:36:50 [175314] ^~
Nov 13 14:36:50 [175314] modparam("tls_mgm","require_cert", "1")
Nov 13 14:36:50 [175314] modparam("tls_mgm","tls_method", "TLSv1_2")
Nov 13 14:36:50 [175314] DBG:core:set_mod_param_regex: tls_mgm matches
module tls_mgm
Nov 13 14:36:50 [175314] DBG:core:set_mod_param_regex: found <require_cert>
in module tls_mgm [/usr/local/lib64/opensips/modules/]
Nov 13 14:36:50 [175314] ERROR:tls_mgm:split_param_val: No TLS domain name

Can anyone tell me what I might be missing please?

Many thanks
Mark.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20201113/9ea1e1dc/attachment.html>


More information about the Users mailing list