Skip to content

Android app can no longer connect to secure server trusted by user-added CA #3312

@noemartinez

Description

@noemartinez

We have a Zulip server set up with a secure SSL certificate, but the certificate is trusted only by an internal Certificate Authority of ours so far, not yet a public CA.

In previous versions of the Android app, I was able to connect to the server over from the Android app as long as my phone was connected to our VPN and I had added our internal CA to my Android device.

This no longer works in the latest versions of the app. Zulip now says "Cannot connect to server".

I'm fairly confident the fix is fairly simple: add a network security configuration file to the app, and set it up to trust user-added CAs for secure connections, but I'm not sure if there's any philosophical objections to re-enabling that. Hopefully not! It has been a handy workflow while we're internally testing Zulip before we are able to expose our server publicly.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    a-Androida-TLSTLS/SSL certificates and config; "Cannot connect to server" errors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions