-
I was looking at this change while looking at #issue #1111 and I think we could change this condition to
OR
:if (certCheckResult == CertCheckResult.invalid && serv.isHandshakingOnly()) { return true; }
(if it's handshakingOnly then it's most likely dialback, and if certificate is invalid then possibly we will be able to establish s2s as a client but return connection will definitely fail. What do you think?
-
I was pondering it a little bit more and I think that with #issue #1112 and #issue #1132 we could actually stick with
&&
with the assumption that it would still be possible to establish and authenticate connection in one way using SASL-EXTERNAL and other way around using dialback.
Type |
Bug
|
Priority |
Normal
|
Assignee | |
Version |
tigase-server-8.1.0
|
Spent time |
0
|
Issue Votes (0)
Watchers (0)
Not able to connect via S2S to the server with an incorrect SSL certificate. That server is dropping handshake only dialback connection on SASL external requests.