Unacceptable

This commit is contained in:
M66B 2020-07-19 08:01:14 +02:00
parent 7f57fbf421
commit bb4e6056ca
1 changed files with 2 additions and 1 deletions

View File

@ -501,7 +501,8 @@ public class ContactInfo {
"Connection closed by peer".equals(ex.getMessage())) || "Connection closed by peer".equals(ex.getMessage())) ||
(ex instanceof SSLHandshakeException && (ex instanceof SSLHandshakeException &&
ex.getMessage() != null && ex.getMessage() != null &&
ex.getMessage().contains("usually a protocol error")) || (ex.getMessage().contains("usually a protocol error") ||
ex.getMessage().contains("Unacceptable certificate"))) ||
(ex instanceof SSLHandshakeException && (ex instanceof SSLHandshakeException &&
(ex.getCause() instanceof SSLProtocolException || (ex.getCause() instanceof SSLProtocolException ||
ex.getCause() instanceof CertificateException || ex.getCause() instanceof CertificateException ||