[OpenSIPS-Users] wolfssl setup
Bogdan-Andrei Iancu
bogdan at opensips.org
Wed Feb 23 11:53:17 UTC 2022
Hi Jehanzaib,
See
https://opensips.org/html/docs/modules/3.2.x/tls_mgm.html#domains-param
for some samples, as you are missing the TLS domain name in the value of
the parameter.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
OpenSIPS eBootcamp
https://www.opensips.org/Training/Bootcamp
On 2/23/22 9:17 AM, Jehanzaib Younis wrote:
> 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 <http://mysipxx.com>")
> modparam("tls_mgm", "match_sip_domain", "mysipxx.com
> <http://mysipxx.com> ")
> modparam("tls_mgm", "certificate", "/etc/letsencrypt/live/mysipxx.com
> <http://mysipxx.com> /cert.pem")
> modparam("tls_mgm", "private_key", "/etc/letsencrypt/live/mysipxx.com
> <http://mysipxx.com> /privkey.pem")
> modparam("tls_mgm", "ca_list", "/etc/letsencrypt/live/mysipxx.com
> <http://mysipxx.com> /fullchain.pem")
>
> Regards,
> Jehanzaib
>
>
> On Wed, Feb 23, 2022 at 7:00 PM Ovidiu Sas <osas at voipembedded.com
> <mailto: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 <mailto: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 <mailto:Users at lists.opensips.org>
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
>
>
> --
> VoIP Embedded, Inc.
> http://www.voipembedded.com <http://www.voipembedded.com>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org <mailto:Users at lists.opensips.org>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
>
>
> _______________________________________________
> 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/2f1c4596/attachment-0001.html>
More information about the Users
mailing list