Skip to content

Add support for pinned SSL Certificates #34

@biozal

Description

@biozal

Is your feature request related to a problem? Please describe.
As a developer, I need support for pinned SSL certificates with replication. This feature is used by enterprise companies that want to validate that the server they are connected to doesn't have a man in the middle attack or other common problems when certificates aren't validated.

Describe the solution you'd like
In the native platforms for both iOS and Android, you can set a pinned certificate and have the SDK use that in the replication configuration.

iOS:
https://docs.couchbase.com/couchbase-lite/current/swift/replication.html#lbl-cert-pinning

Android:
https://docs.couchbase.com/couchbase-lite/current/android/replication.html#lbl-cert-pinning

Describe alternatives you've considered
There is no alternative for this.

Additional context
The cblite-js framework would need to add support along with cbl-ionic that takes in a file path to the cert file. Each app would have to have the cert file published in it so that the mobile build for iOS or Android would have access to the file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions