【问题标题】:Ignore self signed ssl certificate in strophe js with https request使用 https 请求忽略 strophe js 中的自签名 ssl 证书
【发布时间】:2016-05-11 01:41:47
【问题描述】:

我使用 Strophe 库连接到 OpenFire XMPP 服务器。我使用 http-bind url 作为 https://localhost:7443/http-bind/ 连接到 openfire 服务器。

Openfire 提供了默认的自签名证书。

如何忽略strophe连接中的自签名证书?

【问题讨论】:

    标签: ssl xmpp openfire strophe


    【解决方案1】:

    在浏览器中,JavaScript 不能覆盖信任证书的决定。只有用户可以手动执行此操作。为此,请直接访问 http-bind URL 并添加异常。

    【讨论】:

      猜你喜欢
      • 2016-10-01
      • 1970-01-01
      • 2012-06-08
      • 1970-01-01
      • 2011-08-28
      • 2018-07-26
      • 2012-08-30
      • 2013-10-26
      • 2021-11-10
      相关资源
      最近更新 更多