Couchdb Android SSL failing to connect

Hi,

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:

http://app.production.domain.com:5984
https://app.production.domain.com:6984

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

We have added:

<allow-navigation href="*://*.domain.com/*" />
<allow-navigation href="*://*.domain.com:*" />

…to our config.xml, within the

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

Thanks in advance.

Ben

Solved.

It was a CouchDB certificate issue.

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

In our CouchDB local.ini SSL section.