Couchdb Android SSL failing to connect


Hopefully someone can shed some light on this…

We would like our app to connect to our CouchDB via SSL. We have set up a Lets Encrypt certificate and everything is working fine in the browser and iOS using the domains:

However, when we publish an Android build using Android Studio, the app cannot connect to the SSL domain.

We have added:

<allow-navigation href="*://**" />
<allow-navigation href="*://**" />

…to our config.xml, within the

Has anyone experienced this? Is it a whitelist issue? Something with the certificates?

Thanks in advance.



It was a CouchDB certificate issue.

We needed to add: cacert_file = /path/to/file/fullchain.pem

In our CouchDB local.ini SSL section.