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 <[email protected] <mailto:[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] <mailto:[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] <mailto:[email protected]>
    > 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
    [email protected] <mailto:[email protected]>
    http://lists.opensips.org/cgi-bin/mailman/listinfo/users
    <http://lists.opensips.org/cgi-bin/mailman/listinfo/users>


_______________________________________________
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