From bb4e6056ca622005c91a3d449430f7dc425e0d62 Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 19 Jul 2020 08:01:14 +0200 Subject: [PATCH] Unacceptable --- app/src/main/java/eu/faircode/email/ContactInfo.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/ContactInfo.java b/app/src/main/java/eu/faircode/email/ContactInfo.java index 31b9b6ba8f..1ed38f85f1 100644 --- a/app/src/main/java/eu/faircode/email/ContactInfo.java +++ b/app/src/main/java/eu/faircode/email/ContactInfo.java @@ -501,7 +501,8 @@ public class ContactInfo { "Connection closed by peer".equals(ex.getMessage())) || (ex instanceof SSLHandshakeException && 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.getCause() instanceof SSLProtocolException || ex.getCause() instanceof CertificateException ||