I’m trying to use my Protonmail account through Nextcloud on Debian Buster and I think I’m making some good progress. I successfully followed this guide to build the Protonmail Bridge from source without a gui. I’m working on running it as a systemd service. I just can’t seem to get Nextcloud Mail to complete the configuration, I keep getting this error:
Creating account failed: Could not connect to IMAP host localhost:1143: Could not open secure TLS connection to the IMAP server.
I think I may have the same problem the guy writing that guide had, where Nextcloud isn’t trusting the self-signed certificate generated by the bridge app. I tried symlinking the certificate into /usr/lib/ssl/certs, same result. Any help would be appreciated.