<div dir="auto">Also, the <span style="color:rgb(49,49,49);font-size:25px;word-spacing:1px">match_sip_domain </span>parameter has an extra space.</div><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr"><br></div><div dir="ltr" class="gmail_attr">-ovidiu</div><div dir="ltr" class="gmail_attr"><br></div><div dir="ltr" class="gmail_attr">On Wed, Feb 23, 2022 at 06:54 Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<font face="monospace">Hi Jehanzaib,<br>
<br>
See
<a href="https://opensips.org/html/docs/modules/3.2.x/tls_mgm.html#domains-param" target="_blank">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 cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
OpenSIPS eBootcamp
<a href="https://www.opensips.org/Training/Bootcamp" target="_blank">https://www.opensips.org/Training/Bootcamp</a></pre></div><div>
<div>On 2/23/22 9:17 AM, Jehanzaib Younis
wrote:<br>
</div>
<blockquote type="cite">
<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" 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" target="_blank">mysipxx.com</a>")<br>
modparam("tls_mgm", "match_sip_domain", "<a href="http://mysipxx.com" target="_blank">mysipxx.com</a>
")<br>
modparam("tls_mgm", "certificate",
"/etc/letsencrypt/live/<a href="http://mysipxx.com" target="_blank">mysipxx.com</a> /cert.pem")<br>
modparam("tls_mgm", "private_key",
"/etc/letsencrypt/live/<a href="http://mysipxx.com" target="_blank">mysipxx.com</a> /privkey.pem")<br>
modparam("tls_mgm", "ca_list", "/etc/letsencrypt/live/<a href="http://mysipxx.com" target="_blank">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" target="_blank">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">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">Users@lists.opensips.org</a><br>
> <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">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">http://www.voipembedded.com</a><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">VoIP Embedded, Inc.<br><a href="http://www.voipembedded.com" target="_blank">http://www.voipembedded.com</a></div>