openfire错误Unsupported record version Unknown-47.115

openfire Unsupported record version Unknown-47.115

错误日志:

写道
javax.net.ssl.SSLException: Unsupported record version Unknown-47.115
at sun.security.ssl.EngineInputRecord.bytesInCompletePacket(EngineInputRecord.java:116)
at sun.security.ssl.SSLEngineImpl.readNetRecord(SSLEngineImpl.java:845)
at sun.security.ssl.SSLEngineImpl.unwrap(SSLEngineImpl.java:758)
at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:624)
at org.jivesoftware.openfire.net.TLSStreamHandler.doHandshake(TLSStreamHandler.java:222)
at org.jivesoftware.openfire.net.TLSStreamHandler.start(TLSStreamHandler.java:168)
at org.jivesoftware.openfire.net.SocketConnection.startTLS(SocketConnection.java:182)
at org.jivesoftware.openfire.net.SocketReadingMode.negotiateTLS(SocketReadingMode.java:85)
at org.jivesoftware.openfire.net.BlockingReadingMode.readStream(BlockingReadingMode.java:138)
at org.jivesoftware.openfire.net.BlockingReadingMode.run(BlockingReadingMode.java:76)
at org.jivesoftware.openfire.net.SocketReader.run(SocketReader.java:137)
at java.lang.Thread.run(Thread.java:724)

 

借鉴社区答案

http://community.igniterealtime.org/thread/33362

 

写道
Hey there,


I noticed one line in particular: "root certificate not trusted of", which would mean your certificate validation chain seems to be broken or you don't have the proper root certificates installed for the certificates you are using (in openfire's truststore). Next to that I also noticed some timeouts so it may be a combined problem with poor connectivity and not having the full validation chain available.


You can try setting:

xmpp.server.certificate.verify = false

on both servers, and see if you still get the s2s errors. If not, you should have a look at making sure your certificates are complete, correct, and that the truststore on your servers have the appropriate root certificates and intermediate certificates (if any) installed.

Also, if one or both of the servers are using self-signed certificates, you can try to use:

xmpp.server.certificate.accept-selfsigned = true

to make sure self-signed certificates are considered valid.

Hope this helps,

Mark.

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

linyu19872008

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值