I’m configuring the replicator on a mobile app in order to activate bi-directional sync with our client sync gateway. The app is developed with xamarin forms and use the latest version of nuget package for couch lite (2.8.6).
The ssl certificate of our client is refering an internal root certificate authority. I was looking for the parameter AcceptOnlySelfSignedServerCertificate (refered in some doc page), but I didn’t find in the ReplicatorConfiguration class. Then I’ve tried to inject the root certificate in android app, following the official guideline Network security configuration | Android Developers
At teh end, the only working option was to download the specific sync gateway certificate and to pin to the client using PinnedServerCertificate property of the replicator. But this solution requires to update the sync gateway certificate every two year.
Is there any other solution? The injected authority root certificate using “Network security configuration” is considered by the replicator?