Connect Openfire fail

用gloox 连接Openfire的时候 有时候会出现以下错误 是什么原因造成的吗?请高手帮帮说说 是什么问题?有什么方法解决吗?

ConnTlsFailed, /**< The server’s certificate could not be verified or the TLS

  • handshake did not complete successfully. */