<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<font face="monospace">Hi Jehanzaib,<br>
<br>
See
<a class="moz-txt-link-freetext" href="https://opensips.org/html/docs/modules/3.2.x/tls_mgm.html#domains-param">https://opensips.org/html/docs/modules/3.2.x/tls_mgm.html#domains-param</a>
for some samples, as you are missing the TLS domain name in the
value of the parameter.<br>
<br>
Regards,<br>
</font>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS eBootcamp
<a class="moz-txt-link-freetext" href="https://www.opensips.org/Training/Bootcamp">https://www.opensips.org/Training/Bootcamp</a></pre>
<div class="moz-cite-prefix">On 2/23/22 9:17 AM, Jehanzaib Younis
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAKrJzCyjNJUZfxHdgk7_VbxymsmY300Tf6qMRgJoqRYOQkxf3g@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">Thank you for your response.
<div>yes that is what i did but i am getting a couple of errors
as shown below:</div>
<div><br>
</div>
<div>Feb 23 02:14:17 opensips: ERROR:tls_mgm:split_param_val:
No TLS domain name<br>
Feb 23 02:14:17 opensips: Traceback (last included file at
the bottom):<br>
Feb 23 02:14:17 opensips: 0.
/usr/local//etc/opensips/opensips.cfg<br>
Feb 23 02:14:17 opensips: CRITICAL:core:yyerror: parse error
in /usr/local//etc/opensips/opensips.cfg:122:20-21: Parameter
<match_sip_domain> not found in module <tls_mgm> -
can't set<br>
<div>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div><br>
</div>
<div>My config is</div>
<div><br>
</div>
<div>loadmodule "proto_tls.so"<br>
loadmodule "tls_wolfssl.so"<br>
loadmodule "tls_mgm.so"<br>
modparam("tls_mgm", "tls_library", "wolfssl")<br>
modparam("tls_mgm", "server_domain", "<a
href="http://mysipxx.com" moz-do-not-send="true">mysipxx.com</a>")<br>
modparam("tls_mgm", "match_sip_domain", "<a
href="http://mysipxx.com" moz-do-not-send="true">mysipxx.com</a>
")<br>
modparam("tls_mgm", "certificate",
"/etc/letsencrypt/live/<a href="http://mysipxx.com"
moz-do-not-send="true">mysipxx.com</a> /cert.pem")<br>
modparam("tls_mgm", "private_key",
"/etc/letsencrypt/live/<a href="http://mysipxx.com"
moz-do-not-send="true">mysipxx.com</a> /privkey.pem")<br>
modparam("tls_mgm", "ca_list", "/etc/letsencrypt/live/<a
href="http://mysipxx.com" moz-do-not-send="true">mysipxx.com</a>
/fullchain.pem")<br>
</div>
<div><br>
</div>
<div>Regards,</div>
<div>Jehanzaib</div>
</div>
</div>
<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Feb 23, 2022 at 7:00
PM Ovidiu Sas <<a href="mailto:osas@voipembedded.com"
moz-do-not-send="true">osas@voipembedded.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">What
exactly is the issue?<br>
You can load both libraries and switch between them via the<br>
tls_library param of tls_mgm module:<br>
loadmodule "tls_openssl.so"<br>
loadmodule "tls_wolfssl.so"<br>
loadmodule "tls_mgm.so"<br>
# modparam("tls_mgm", "tls_library", "openssl")<br>
modparam("tls_mgm", "tls_library", "wolfssl")<br>
<br>
-ovidiu<br>
<br>
On Tue, Feb 22, 2022 at 9:57 PM Jehanzaib Younis<br>
<<a href="mailto:jehanzaib.kiani@gmail.com" target="_blank"
moz-do-not-send="true">jehanzaib.kiani@gmail.com</a>>
wrote:<br>
><br>
> Hi,<br>
><br>
> Does anyone have a working example with tls_wolfssl ? I
was able to work with tls_openssl but i am try to test with
wolfssl library and having a hard time at the moment ;)<br>
><br>
><br>
> Thank you.<br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opensips.org"
target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a><br>
> <a
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
<br>
<br>
-- <br>
VoIP Embedded, Inc.<br>
<a href="http://www.voipembedded.com" rel="noreferrer"
target="_blank" moz-do-not-send="true">http://www.voipembedded.com</a><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank"
moz-do-not-send="true">Users@lists.opensips.org</a><br>
<a
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>