[OpenSIPS-Users] TLS_MGM

Vadim Dumalekov vadimd333 at icloud.com
Tue Jul 19 21:35:44 UTC 2022


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.





More information about the Users mailing list