[OpenSIPS-Users] TLS_MGM

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Aug 9 08:45:29 UTC 2022


Hi Vadim,

This log looks weird :

июл 19 21:11:32 proxy-01 opensips[13765]: CRITICAL:core:yyerror: parse error in /etc/opensips/opensips.cfg:110:21-22: Parameter <certificate> not found in module <tls

it should be like:

июл 19 21:11:32 proxy-01 opensips[13765]: CRITICAL:core:yyerror: parse error in /etc/opensips/opensips.cfg:110:21-22: Parameter <certificate> not found in module <tls_mgm>

So, check the modparam line for any typos or weird chars in the name of the module.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
OpenSIPS Summit 27-30 Sept 2022, Athens
   https://www.opensips.org/events/Summit-2022Athens/

On 7/20/22 12:35 AM, Vadim Dumalekov via Users wrote:
> Hello!
>
> I have installed the OpenSIPS-3.2.7. I'm trying to set up the WSS-proto. It requires the tls_mgm module be loaded. I have the following settings for this module:
>
> loadmodule "tls_mgm.so"
>          modparam("tls_mgm", "tls_library", "openssl")
>          modparam("tls_mgm", "certificate", "/etc/opensips/tls/rootCA/cacert.pem")
>          modparam("tls_mgm", "private_key", "/etc/opensips/tls/rootCA/private/cakey.pem")
>
> But when i triy to run opensips I have this problem:
>
> июл 19 21:11:32 proxy-01 opensips[13765]: CRITICAL:core:yyerror: parse error in /etc/opensips/opensips.cfg:110:21-22: Parameter <certificate> not found in module <tls
> июл 19 21:11:32 proxy-01 opensips[13765]: loadmodule "tls_mgm.so"
> июл 19 21:11:32 proxy-01 opensips[13765]:         modparam("tls_mgm", "tls_library", "openssl")
> июл 19 21:11:32 proxy-01 opensips[13765]:         modparam("tls_mgm", "certificate", "/etc/opensips/tls/rootCA/cacert.pem")
> июл 19 21:11:32 proxy-01 opensips[13765]:         ^~
> июл 19 21:11:32 proxy-01 opensips[13765]:         modparam("tls_mgm", "private_key", "/etc/opensips/tls/rootCA/private/cakey.pem")
> июл 19 21:11:32 proxy-01 opensips[13765]:
> июл 19 21:11:32 proxy-01 opensips[13765]: ERROR:tls_mgm:split_param_val: No TLS domain name
> июл 19 21:11:32 proxy-01 opensips[13765]: CRITICAL:core:yyerror: parse error in /etc/opensips/opensips.cfg:111:21-22: Parameter <private_key> not found in module <tls
> июл 19 21:11:32 proxy-01 opensips[13765]: ERROR:core:parse_opensips_cfg: bad config file (2 errors)
> июл 19 21:11:32 proxy-01 opensips[13765]: ERROR:core:main: failed to parse config file /etc/opensips/opensips.cfg
> июл 19 21:11:32 proxy-01 opensips[13765]: NOTICE:core:main: Exiting....
> июл 19 21:11:32 proxy-01 systemd[1]: opensips.service: control process exited, code=exited status=255
> июл 19 21:11:32 proxy-01 systemd[1]: Failed to start OpenSIPS is a very fast and flexible SIP (RFC3261) server.
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list