Bug 361610

Summary: “Server failed the authenticity check” not cancelable
Product: [Frameworks and Libraries] Akonadi Reporter: Candid Dauth <cdauth+bugs.kde.org>
Component: IMAP resourceAssignee: Christian Mollekopf <chrigi_1>
Status: CONFIRMED ---    
Severity: normal CC: dvratil, kde2, kdepim-bugs, Simon.Legner, vkrause
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Candid Dauth 2016-04-10 20:16:46 UTC
When connecting to an IMAP server whose certificate can not be authenticated, a popup comes up that contains the following message: “The server failed the authenticity check (testdomain.example.org). The certificate is not signed by any trusted certificate authority”. The message has the buttons “Details”, “Continue”, “Cancel”.

When clicking Cancel, the message comes up immediately again.

When ignoring the message, another message of the same type will come up every 30 seconds or so, stealing the focus, thus making the computer basically unusable without accepting the invalid certificate.

When pressing Cancel, Akonadi should not attempt to reconnect to the server until restarted or until a connection is manually initiated (by clicking the “Check Mail” button in KMail for example).

Reproducible: Always
Comment 1 Diggory Hardy 2018-03-26 10:42:54 UTC
Same problem, nearly two years later!

Under the details/continue/cancel box there is another saying "Login failed, TLS negotiation failed" with account settings / try again / cancel buttons, but this second box can never be accessed because the first keeps focus and is instantly replaced if cancelled.

At least the new boxes don't steal focus for me, but this is still very broken.