[OpenSIPS-Users] wolfssl setup

Ovidiu Sas osas at voipembedded.com
Wed Feb 23 13:37:08 UTC 2022


Also, the match_sip_domain parameter has an extra space.

-ovidiu

On Wed, Feb 23, 2022 at 06:54 Bogdan-Andrei Iancu <bogdan at opensips.org>
wrote:

> 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")
> 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
>>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://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
>
-- 
VoIP Embedded, Inc.
http://www.voipembedded.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20220223/609cad81/attachment-0001.html>


More information about the Users mailing list