<html><head><style id="outgoing-font-settings">#response_container_BBPPID{font-family: initial;font-size: initial;color: initial;}</style></head><body style="background-color: rgb(255, 255, 255); background-image: initial; line-height: initial;"><div id="response_container_BBPPID" style="outline:none" dir="auto" contenteditable="false"> <div id="BB10_response_div_BBPPID" dir="auto" style="width:100%"> Hi Mark,</div><div id="BB10_response_div_BBPPID" dir="auto" style="width:100%"><br></div><div id="BB10_response_div_BBPPID" dir="auto" style="width:100%">Based on some googling it looks like you need to specify the domain eg:</div><div id="BB10_response_div_BBPPID" dir="auto" style="width:100%"><br></div><div id="BB10_response_div_BBPPID" dir="auto" style="width:100%">modparam("tls_mgm","verify_cert", "[domain.com]1")</div> <div id="response_div_spacer_BBPPID" dir="auto" style="width:100%"> <br></div><div id="response_div_spacer_BBPPID" dir="auto" style="width:100%">https://fossies.org/linux/opensips/modules/tls_mgm/README</div> <div id="blackberry_signature_BBPPID" dir="auto"> <div id="_signaturePlaceholder_BBPPID" dir="auto"><p dir="ltr">Kevin <br></p></div> </div></div><div id="_original_msg_header_BBPPID" dir="auto"> <table id="_pHCWrapper_BBPPID" width="100%" style="border-spacing: 0px; display: table; outline: none;" contenteditable="false"><tbody><tr><td colspan="2"> <div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb( 181 , 196 , 223 );padding:3pt 0in 0in;font-family:'tahoma' , 'bb alpha sans' , 'slate pro';font-size:10pt"> <div id="from"><b>From:</b> farmorg@gmail.com</div><div id="sent"><b>Sent:</b> November 13, 2020 9:49 a.m.</div><div id="to"><b>To:</b> users@lists.opensips.org</div><div id="reply_to"><b>Reply to:</b> users@lists.opensips.org</div><div id="subject"><b>Subject:</b> [OpenSIPS-Users] Teams TLS Error</div></div></td></tr></tbody></table> <br> </div><div dir="auto" style="outline:none" contenteditable="false"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi everyone<br><div dir="ltr" class="gmail_signature"></div><div><br></div><div>OpenSIPS 3.1.0</div><div><br></div><div>I am following the OpenSIPS as Teams SBC guide and have added the TLS config:</div><div><br></div><div><div>modparam("tls_mgm","verify_cert", "1")</div><div>modparam("tls_mgm","require_cert", "1")</div><div>modparam("tls_mgm","tls_method", "TLSv1_2")</div><div>modparam("tls_mgm","certificate", "/usr/local/etc/opensips/tls/<wbr><a href="http://myCert.pem">myCert.pem</a><wbr>")</div><div>modparam("tls_mgm","private_key", "/usr/local/etc/opensips/tls/<wbr><a href="http://myKey.key">myKey.key</a><wbr>")</div><div>modparam("tls_mgm", "ca_dir", "/etc/ssl/certs")</div></div><div><br></div><div>But I am seeing a TLS domain error:</div><div><br></div><div><div>Nov 13 14:36:50 [175314] ERROR:tls_mgm:split_param_val: No TLS domain name</div><div>Nov 13 14:36:50 [175314] Traceback (last included file at the bottom):</div><div>Nov 13 14:36:50 [175314] 0. /usr/local//etc/opensips/<wbr><a href="http://opensips.cfg">opensips.cfg</a><wbr></div><div>Nov 13 14:36:50 [175314] CRITICAL:core:yyerror: parse error in /usr/local//etc/opensips/<wbr><a href="http://opensips.cfg:191">opensips.cfg:191</a><wbr>:19-20: Parameter <verify_cert> not found in module <tls_mgm> - can't set</div><div>Nov 13 14:36:50 [175314] #modparam("tls_mgm", "require_cert", "[dom4]1")</div><div>Nov 13 14:36:50 [175314]</div><div>Nov 13 14:36:50 [175314] modparam("tls_mgm","verify_cert", "1")</div><div>Nov 13 14:36:50 [175314] ^~</div><div>Nov 13 14:36:50 [175314] modparam("tls_mgm","require_cert", "1")</div><div>Nov 13 14:36:50 [175314] modparam("tls_mgm","tls_method", "TLSv1_2")</div><div>Nov 13 14:36:50 [175314] DBG:core:set_mod_param_regex: tls_mgm matches module tls_mgm</div><div>Nov 13 14:36:50 [175314] DBG:core:set_mod_param_regex: found <require_cert> in module tls_mgm [/usr/local/lib64/opensips/modules/]</div><div>Nov 13 14:36:50 [175314] ERROR:tls_mgm:split_param_val: No TLS domain name</div></div><div><br></div><div>Can anyone tell me what I might be missing please?</div><div><br></div><div>Many thanks</div><div>Mark.</div><div><br></div></div></div></div>
</div></body></html>