ssl - XMPP 的 Pidgin -- SSL 握手失败

标签 ssl xmpp pidgin ubuntu-18.04

我安装了最新的 Ubuntu 18.04,并尝试像以前一样使用 Pidgin 连接到我们内部的 XMPP 服务器(它很旧,我无法访问)。

但我无法连接...正在获取 SSL Handshake Failed错误。

这是我在调试窗口中得到的:

(10:37:11) account: Connecting to account d.goosens@%%SERVER_NAME%%/Spark 2.6.3. (10:37:11) connection: Connecting. gc = 0x55e3f7cdca10 (10:37:11) dnsquery: Performing DNS lookup for %%SERVER_IP%% (10:37:11) dnsquery: IP resolved for %%SERVER_IP%% (10:37:11) proxy: Attempting connection to %%SERVER_IP%% (10:37:11) proxy: Connecting to %%SERVER_IP%%:5222 with no proxy (10:37:11) proxy: Connection in progress (10:37:11) proxy: Connecting to %%SERVER_IP%%:5222. (10:37:11) proxy: Connected to %%SERVER_IP%%:5222. (10:37:11) jabber: Sending (d.goosens@%%SERVER_NAME%%/Spark 2.6.3): <?xml version='1.0' ?> (10:37:11) jabber: Sending (d.goosens@%%SERVER_NAME%%/Spark 2.6.3): <stream:stream to='%%SERVER_NAME%%' xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0'> (10:37:11) jabber: Recv (177): <?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="%%SERVER_NAME%%" id="a1c57c52" xml:lang="en" version="1.0"> (10:37:11) jabber: Recv (486): <stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism><mechanism>ANONYMOUS</mechanism><mechanism>CRAM-MD5</mechanism></mechanisms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/></stream:features> (10:37:11) jabber: Sending (d.goosens@%%SERVER_NAME%%/Spark 2.6.3): <starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'/> (10:37:11) jabber: Recv (50): <proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/> (10:37:11) nss: Handshake failed (-12279) (10:37:11) connection: Connection error on 0x55e3f7cdca10 (reason: 5 description: SSL Handshake Failed) (10:37:11) account: Disconnecting account d.goosens@%%SERVER_NAME%%/Spark 2.6.3 (0x55e3f700e310) (10:37:11) connection: Disconnecting connection 0x55e3f7cdca10 (10:37:11) connection: Destroying connection 0x55e3f7cdca10 (10:37:12) util: Writing file prefs.xml to directory /home/dgoosens/.purple (10:37:12) util: Writing file /home/dgoosens/.purple/prefs.xml (已替换 SERVER_NAME 和 SERVER_IP)

尝试了所有可能的帐户设置...但似乎没有任何效果...

有什么建议吗?

最佳答案

我已经解决了这样的问题:

模块 -> NSS 设置 ->

最低版本:1.0 最大版本:1.3(最大可用)

并检查所有 加密模块。

See my screenshot: /image/bHjQV.jpg

WBR,列昂尼德·卡加诺夫 lleo@lleo.me

关于ssl - XMPP 的 Pidgin -- SSL 握手失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50170753/

相关文章:

java - 使用 Smack 在 XMPP 消息中发送 <a>m 中的链接或具有相同效果的内容

json - 通过 SSL 使用 JSONP 的 WCF 服务

iphone - openfire 是否实现了 xmpp XEP-0234 Jingle 文件传输?

ios - 将重复消息存储在 XMPPMessageArchiving_Message_CoreDataObject 中(单聊)

c - 找不到 pidgin 的源码包 (Linux Mint)

c++ - 是否有 Pidgin 的替代品,但许可限制较少?

ssl - 重定向 https ://www to https://

python - session 管理、SSL、WSGI 和 Cookie

javascript - 带 http 外部链接的 SSL 网站

javascript - 使用 converse.js 以编程方式发送消息?