Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unacceptable TLS certificate for Self-Signed Certificates #257

Open
ericpritchett opened this issue Apr 18, 2023 · 1 comment
Open

Unacceptable TLS certificate for Self-Signed Certificates #257

ericpritchett opened this issue Apr 18, 2023 · 1 comment

Comments

@ericpritchett
Copy link

What Happened?

Tying to add a Proton Mail Account fails with the following error:

Could not save the e-mail account
Failed to get capabilities:
Unacceptable TLS certificate

Steps to Reproduce

Add a Proton Mail Account using Proton's mail bridge. Proton's mail bridge sets up a local server that you point the IMAP online account which uses a local self-signed certificate.

Expected Behavior

Because Proton's Mail Bridge uses a self-signed certificate there should be a red "override/add exception" button to allow this exception instead of just displaying the back and close button when trying to add an Online Account. Thunderbird allows users to add an exception to this. You can see setup instructions on Proton's site at https://proton.me/support/protonmail-bridge-clients-windows-thunderbird .

OS Version

7.x (Horus)

Software Version

Latest release (I have run all updates)

Log Output

No response

Hardware Info

No response

@ericpritchett
Copy link
Author

ericpritchett commented Jun 25, 2023

I found a way for this to work! For anyone else trying to get this working, here are the steps.

  1. Install Proton Mail Bridge
  2. Go to Settings > Applications > Permissions and give Proton Mail Bridge access to an a folder such as your home directory, so you can export the cert and access it later. A reboot is sometimes required.
  3. Open and signin to Proton Mail Bridge > Settings > Advanced Settings > Export TLS Certificate to your folder of choice.
  4. Open Terminal and copy the cert: sudo cp cert.pem /usr/local/share/ca-certificates/certificate.crt and then sudo update-ca-certificates
  5. You can now follow the normal Add Online Account steps with the local Proton Mail Bridge settings and it won't error on the certificate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant