This document describes authentication and TLS tests for Couchbase Lite Edge Server.
Test basic authentication with valid, invalid, and anonymous credentials.
- Configure Edge Server with the
namesdataset using basic auth config. - Add a user with valid credentials and set the Edge Server auth to that user.
- Fetch active tasks to verify valid auth succeeds.
- Set invalid credentials and verify fetching active tasks fails.
- Disable auth (anonymous) and verify fetching active tasks fails.
Test TLS and MTLS configurations for Edge Server.
- Configure Edge Server with the
namesdataset using TLS config. - Fetch server version information and verify the call succeeds.
- Re-configure Edge Server with the
namesdataset using MTLS config. - Fetch server version information and verify the call succeeds.