Asterisk Manager 无法设置 sslbindport

发布于 2024-12-14 10:01:56 字数 537 浏览 2 评论 0原文

在配置 asterisk 管理器以使用 SSL 时,您必须(理论上)执行以下操作:

  1. 生成 ssl 密钥(使用 openssl)。
  2. 使用该 ssl 密钥生成 ssl 证书(也可使用 openssl)。
  3. 将 (1) 和 (2) 连接在一起以创建您的星号证书。
  4. 配置管理器以启用 ssl 并使用上述证书。

步骤 4 需要将以下行添加到 manager.conf 文件中,然后重新加载管理器:

sslenable = yes
sslbindport = <somepPort>
sslbindaddr = <someIpAddress>
sslcert = /path/to/cert

但是,在重新加载管理器时,CLI 会抛出以下错误:“__init_manager: Invalid keywords = in manager.conf [general]。

为什么 asterisk 不是理解这个论点吗? http.conf 也需要特殊配置吗?

In configuring the asterisk manager to use SSL, you have to (theoretically) do the following:

  1. Generate an ssl key (with openssl).
  2. Use that ssl key to generate an ssl certificate (also with openssl).
  3. Concatenate (1) and (2) together to create your asterisk cert.
  4. Configure the manager to enable ssl and use the aforesaid cert.

Step 4 entails adding the following lines to the manager.conf file then reloading the manager:

sslenable = yes
sslbindport = <somepPort>
sslbindaddr = <someIpAddress>
sslcert = /path/to/cert

However, upon reloading the manager the CLI throws me the following error: "__init_manager: Invalid keyword = in manager.conf [general].

Why is asterisk not understanding this argument? Does http.conf need special configuring as well?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

淡淡の花香 2024-12-21 10:01:56

如果您不告诉我们您正在使用的 Asterisk 版本,我们将很难为您提供帮助。检查您正在使用的 Asterisk 版本的源代码分发中的 manager.conf.sample 以验证设置。

/O

It's hard to help you if you don't tell us which version of Asterisk you are using. Check the manager.conf.sample in the source code distribution of the version of Asterisk you are using to verify the settings.

/O

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文