[OpenSIPS-Users] TLS_MGM - No TLS domain name - Error
Yannik Lieblinger
yannik at lieblinger.de
Tue Mar 10 09:39:34 EST 2020
Hi,
I'm trying to setup opensips, but running into errors with tls_mgm module. My opensips version is 3.0.2 and I used osipsconfig to generate config files.
I also looked up the following guides and tried it with or without server domain name, but no success.
With:
modparam("tls_mgm", "server_domain", "sv_dom=5.135.140.139:5061")
modparam("tls_mgm", "require_cert", "[sv_dom]0")
Without:
modparam("tls_mgm", "require_cert", "0")
Guides:
http://www.powerpbx.org/content/opensips-v30-debian-v10-mariadb-apache-v1
https://opensips.org/Documentation/Migration-2-4-0-to-3-0-0#toc17
https://www.opensips.org/Documentation/Tutorials-TLS-2-1
Output from "opensips -C /etc/opensipsget":
Mar 10 10:19:32 [1229] CRITICAL:core:yyerror: parse error in /etc/opensips/opensips.cfg:55:20-21: Parameter <require_cert> not found in module <tls_mgm> - can't set
Mar 10 10:19:32 [1229] #modparam("tls_mgm", "server_domain", "sv_dom=5.135.140.139:5061")
Mar 10 10:19:32 [1229]
Mar 10 10:19:32 [1229] modparam("tls_mgm", "require_cert", "0")
Mar 10 10:19:32 [1229] ^~
Mar 10 10:19:32 [1229]
Mar 10 10:19:32 [1229] modparam("tls_mgm", "verify_cert", "0")
Mar 10 10:19:32 [1229] ERROR:tls_mgm:split_param_val: No TLS domain name
Mar 10 10:19:32 [1229] CRITICAL:core:yyerror: parse error in /etc/opensips/opensips.cfg:57:20-21: Parameter <verify_cert> not found in module <tls_mgm> - can't set
Mar 10 10:19:32 [1229] ERROR:tls_mgm:split_param_val: No TLS domain name
Mar 10 10:19:32 [1229] CRITICAL:core:yyerror: parse error in /etc/opensips/opensips.cfg:59:20-21: Parameter <tls_method> not found in module <tls_mgm> - can't set
Mar 10 10:19:32 [1229] ERROR:tls_mgm:split_param_val: No TLS domain name
Mar 10 10:19:32 [1229] CRITICAL:core:yyerror: parse error in /etc/opensips/opensips.cfg:62:3-4: Parameter <certificate> not found in module <tls_mgm> - can't set
Mar 10 10:19:32 [1229] ERROR:tls_mgm:split_param_val: No TLS domain name
Mar 10 10:19:32 [1229] CRITICAL:core:yyerror: parse error in /etc/opensips/opensips.cfg:65:3-4: Parameter <private_key> not found in module <tls_mgm> - can't set
Mar 10 10:19:32 [1229] ERROR:tls_mgm:split_param_val: No TLS domain name
Mar 10 10:19:32 [1229] CRITICAL:core:yyerror: parse error in /etc/opensips/opensips.cfg:68:3-4: Parameter <ca_list> not found in module <tls_mgm> - can't set
Mar 10 10:19:32 [1229] ERROR:core:parse_opensips_cfg: bad config file (6 errors)
Mar 10 10:19:32 [1229] ERROR:core:main: failed to parse config file (null)
Mar 10 10:19:32 [1229] NOTICE:core:main: Exiting....
I would be very happy to get help or tips.
Greetings Yannik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200310/dccceccd/attachment-0001.html>
More information about the Users
mailing list