<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>I guess this error, which is indeed not worded very well, threw
you off:<br>
</p>
<p> ERROR:tls_mgm:tlsp_set_certificate: TLS domain [<a
href="http://my.domain.com">my.domain.com</a>] not defined in '[<a
href="http://my.domain.com">my.domain.com</a>]/usr/local/etc/opensips/tls/my_domain_com.pem'</p>
<p>What it actually means is that the TLS domain "my.domain.com"
(the tls_mgm module's record/structure, ) is not defined. Refer to
this [1] section in docs for a better explanation on the the
concept of "TLS domains" in tls_mgm. The term "TLS domain" might
be a little loose and generate confusion sometimes.</p>
<p>So what you should do is add this in your config:</p>
<p>modparam("tls_mgm", "server_domain", "my.domain.com")</p>
<p>By the way, you can use any arbitrary identifier for the domain
part in the tls_mgm parameters, eg. :</p>
<p>modparam("tls_mgm", "server_domain", "mydom")</p>
<p>modparam("tls_mgm","certificate",
"[mydom]/usr/local/etc/opensips/tls/myCert.pem")</p>
<p>...<br>
</p>
<p>[1] <a class="moz-txt-link-freetext"
href="https://opensips.org/docs/modules/3.1.x/tls_mgm.html#idp2972192">https://opensips.org/docs/modules/3.1.x/tls_mgm.html#idp2972192</a></p>
Regards,
<pre class="moz-signature" cols="72">--
Vlad Patrascu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
</body>
</html>