Skip to content
Snippets Groups Projects
Commit 55f12922 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Manual certificate overrides now work even if the certificate is not technically valid

parent 6c4adc35
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,6 @@ public class SQLiteCertificateManager implements CertificateManager {
@Override
public boolean isTrusted(@NonNull X509Certificate certificate, @NonNull ServerAddress core) {
try {
certificate.checkValidity();
return handler.findCertificates(core.host).contains(CertificateUtils.certificateToFingerprint(certificate));
} catch (Exception e) {
return false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment