安装ssl证书后strophe js无法正常工作

时间:2015-02-14 12:35:35

标签: javascript xmpp openfire strophe

我正在开发一个实时应用程序,因为我安装了openfire并使用strophe js将它集成到客户端,一切正常

但稍后我们必须将ssl证书集成到网站,并在添加ssl证书后strophe停止工作并给出错误

我在openfire中添加了自我证明的证书,但仍然没用 error visible in browser

1 个答案:

答案 0 :(得分:0)

这看起来像是您的网络服务器配置问题,而不是strophe。基于我对你的配置的小信息进行推测,我猜想openfire bosh配置正在监听除默认ssl 443端口之外的端口。

您需要指定openfire正在侦听的端口号(adventurefriend.com:8443或其他),或者在Apache配置中使用http重写来使用^ / http-bind重写请求到该端口。