elementary / mail

Mail app designed for elementary OS
https://elementary.io
GNU General Public License v3.0
201 stars 48 forks source link

Couldn't find a place to store the pinned certificate - error #497

Open yerbestpal opened 4 years ago

yerbestpal commented 4 years ago

Prerequisites

Describe the bug

When adding my Proton Mail account to Mail, I am presented with a dialog asking if I would like to store Proton's insecure certificate, and if so, whether to store it temporarily or permanently. After selecting the former, a new dialog explains that it 'couldn't find a place to store the pinned certificate'. When trying again, I cannot access the dialogues and instead, the new account forms shows the following error: Unable to validate

image I am unable to produce all screenshots because I can no longer access the relevant dialogues.

To Reproduce

Steps to reproduce the behavior:

  1. Open Mail.
  2. Click on Settings icon.
  3. Select Accounts.
  4. Click the + sign.
  5. In the new dialog, choose Other.
  6. Enter all the correct information as provided by Proton Bridge.
  7. Choose Use IMAP credentials or not (the outcome is the same).

Expected behavior

In an ideal work the account would be successfully added and I would be able to use all functionality.

Platform Information

image

Please check what applies: -->

Additional context

I am aware of the same issue having been briefly discussed on Stack Exchange, but no solution is found.

yerbestpal commented 4 years ago

Duplicate of #218

pianogamer5 commented 3 years ago

Hi,

I recently installed elementary OS and I've been hitting this with my self-hosted mail server. The cert is signed by Let's Encrypt, and not expired, but this dialog pops up. Using Geary on Arch with GNOME, I've been able to hit "Always Trust this Certificate" in this window... Screenshot from 2020-12-04 15 39 52 but now when I do that I get this dialog: Screenshot from 2020-12-04 15 42 09

r0thko commented 3 years ago

I have the same issue using my iCloud account.

herop commented 3 years ago

Same with me with a personal IMAP account @ infomaniak.ch The system settings app crashes as well. Please help us out here...

interroobang commented 3 years ago

Same here...

swt83 commented 3 years ago

Same issue.

swt83 commented 3 years ago

I read here that this is the fix:

$ mkdir -p ~/.config/pkcs11/modules
$ curl https://gitlab.gnome.org/GNOME/gnome-keyring/raw/ff229abca62db366c84dfe58035324f6d8ca6059/pkcs11/rpc-layer/gnome-keyring.module.in > ~/.config/pkcs11/modules/gnome-keyring.module

But while this fixes the cert error, I still can't get ProtonMail to work with this. Also, this fix was posted 2 years ago and this app still hast he same bug!

marbetschar commented 3 years ago

The code of elementary Mail is undergoing a major rework and will be released on elementary 6 Odin. Anyone capable to test the state of this issue on Odin, so we can take it from there?

swt83 commented 3 years ago

This issue persist in the new version.

verteilerr commented 2 years ago

Hey team - the certificate verification issue when using ProtonMail Bridge in the EOS mail app still persists. Just a bump here