Skip to content

tls: Add client CA configuration for mTLS verification - #927

Closed
saswatamcode wants to merge 1 commit into
observatorium:mainfrom
saswatamcode:tlsca
Closed

saswatamcode wants to merge 1 commit into
observatorium:mainfrom
saswatamcode:tlsca

Conversation

@saswatamcode

Copy link
Copy Markdown
Member

Add --tls.client-ca-file flag and configure tls.Config.ClientCAs to enable proper verification of client certificates. Without this, the gateway cannot verify client certs against a specific CA.

Note, this is for mTLS between sender and Observatorium API

Add --tls.client-ca-file flag and configure tls.Config.ClientCAs to
enable proper verification of client certificates. Without this, the
gateway cannot verify client certs against a specific CA.

Note, this is for mTLS between sender and Observatorium API

Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>
@saswatamcode

Copy link
Copy Markdown
Member Author

@philipgough pointed out that each tenant passes it through already https://github.com/observatorium/api/blob/main/main.go#L259-L261 via their own config, so this is probably not required in such a setup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant