protonmail-bridge-docker icon indicating copy to clipboard operation
protonmail-bridge-docker copied to clipboard

Unable to connect with TLS encryption

Open sergio-ns opened this issue 3 years ago • 3 comments

Hello, first of all nice job with this container. I'm running the container on a QNAP NAS, I'd like to use it to send emails via Protonmail from my ownCloud instance also running on docker. After the initial setup, I configured the smtp connection details in ownCloud but when I try to send a test email I get this error: A problem occurred while sending the email. Please revise your settings. (Error: Unable to connect with TLS encryption)

I know you are not supposed to support ownCloud issues but I was wondering if you could give me some hint to troubleshoot this problem.

Things I tried:

  • checked that the service is running on port 1025 (it accepts telnet connections)
  • changing the encryption method to something else than STARTTLS: the error changes. It really seems that ownCloud routing reaches out to the Bridge but something fails in the authentication.

See here a screenshot of the email setup page in ownCloud.

Thanks in advance Regards S.

sergio-ns avatar Dec 27 '20 23:12 sergio-ns

One possible reason is that the bridge uses a self-signed certificate for STARTTLS and your ownCloud instance does not trust that. Try something like no encryption if ownCloud supports that. Otherwise you may need to figure out how to add certificate exceptions to your ownCloud.

shenxn avatar Dec 28 '20 01:12 shenxn

Hi,

I can confirm Nextcloud works with Protonmail Bridge if you set encryption to none : image

I guess Owncloud and Nextcloud are quite same as Nextcloud is a fork from original Owncloud creator

OrpheeGT avatar Jan 11 '21 10:01 OrpheeGT

@OrpheeGT

I can confirm Nextcloud works with Protonmail Bridge if you set encryption to none

If you set encryption to none, then you are broadcasting your Protonmail password plain-text over the Internet/local network.

Tek4 avatar Jan 27 '23 02:01 Tek4