cockroachdb / cockroachdb/cockroach

security: HTTP cert tests fail with secondary tenants

Open
#109,498 0 comments 0 reactions 0 assignees View on GitHub
A-multitenancy A-security C-bug T-db-server
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

**Describe the problem**

The following tests fail when pointed to a secondary tenant:

- TestUseCerts
- TestUseSplitCACerts

Example error:
```
certs_test.go:452: Expected OK, got "401 Unauthorized" with body: a valid authentication cookie is required
```

**Expected behavior**

The tests should work

Epic CRDB-38970
Jira issue: CRDB-30954

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.