We decided to use ssl in sync gateway component. There are mobile clients which have cblite in their tablet.
I generated my own self-signed certificate and run the local sync gateway with this certificate. I’m able to connect sync gw api (such as _changes) through https in my browser. Then my colleague needed to use this certificated sync gw in his computer to debug. Until now, we were using classical “ws:…” approach. He replaced with “wss:…” But he gets “The remote certificate is invalid according to the validation procedure”.
Then based on blog post (https://blog.couchbase.com/certificate-pinning-android-with-couchbase-mobile/) , we used pinning mechanism. I generated .cer file and shared with my collague. However, this time he gets "WebSocket error 401 “CouchbaseLiteException (WebSocketDomain / 401): (unknown HTTP status)” message.
Could you help us regarding this issue?