I am running opensips 3.3.0 version.
I have also changed the format and now the error is bit different.

i tried server_domain like modparam("tls_mgm", "server_domain", "[
mysipxx.com]")
Now the error is ERROR:tls_mgm:tlsp_set_match_addr: TLS domain [ mysipxx.com
] not defined

Does anyone know where to define this TLS domain? i have already set

Regards,
Jehanzaib


On Wed, Feb 23, 2022 at 8:17 PM Jehanzaib Younis <[email protected]>
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 <[email protected]> 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
>> <[email protected]> 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
>> > [email protected]
>> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>> --
>> VoIP Embedded, Inc.
>> http://www.voipembedded.com
>>
>> _______________________________________________
>> Users mailing list
>> [email protected]
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to