I am new to Couchbase.
I have written code in swift 2.3 and it did work great with http://localhost but when i try same code with https://host it fail in Puller Replication Error with error “Untrustworthy SSL certificate”.
I can understand that iOS app is not able to trust server, but what should i change so that it trust all certi ?
Get a copy of the X.509 certificate the server is using, and add it to the app as a resource file. At runtime load that file and set the pinnedCertreplicator property to the contents of the certificate.