[OpenSIPS-Users] wolfssl setup

Jehanzaib Younis jehanzaib.kiani at gmail.com
Wed Feb 23 07:17:27 UTC 2022


Thank you for your response.
yes that is what i did but i am getting a couple of errors as shown below:

Feb 23 02:14:17  opensips: ERROR:tls_mgm:split_param_val: No TLS domain name
Feb 23 02:14:17  opensips: Traceback (last included file at the bottom):
Feb 23 02:14:17  opensips: 0. /usr/local//etc/opensips/opensips.cfg
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

My config is

loadmodule "proto_tls.so"
loadmodule "tls_wolfssl.so"
loadmodule "tls_mgm.so"
modparam("tls_mgm", "tls_library", "wolfssl")
modparam("tls_mgm", "server_domain", "mysipxx.com")
modparam("tls_mgm", "match_sip_domain", "mysipxx.com  ")
modparam("tls_mgm", "certificate", "/etc/letsencrypt/live/mysipxx.com
/cert.pem")
modparam("tls_mgm", "private_key", "/etc/letsencrypt/live/mysipxx.com
/privkey.pem")
modparam("tls_mgm", "ca_list", "/etc/letsencrypt/live/mysipxx.com
/fullchain.pem")

Regards,
Jehanzaib


On Wed, Feb 23, 2022 at 7:00 PM Ovidiu Sas <osas at voipembedded.com> wrote:

> What exactly is the issue?
> You can load both libraries and switch between them via the
> tls_library param of tls_mgm module:
> loadmodule "tls_openssl.so"
> loadmodule "tls_wolfssl.so"
> loadmodule "tls_mgm.so"
> # modparam("tls_mgm", "tls_library", "openssl")
>   modparam("tls_mgm", "tls_library", "wolfssl")
>
> -ovidiu
>
> On Tue, Feb 22, 2022 at 9:57 PM Jehanzaib Younis
> <jehanzaib.kiani at gmail.com> wrote:
> >
> > Hi,
> >
> > 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 ;)
> >
> >
> > Thank you.
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> --
> VoIP Embedded, Inc.
> http://www.voipembedded.com
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220223/aa461273/attachment.html>


More information about the Users mailing list