coinbase / coinbase/temporal-ruby

Is there a way to rotate a client certificate while in use?

Open
#259 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Ruby
Stars
287
Forks
113
Avg merge
6d 11h
Merged PRs (30d)
1

Description

We are using mTLS for client authentication, and this works except when the certificate needs to be rotated: I wrote some code to "watch" for certificate changes on disk, create new `GRPC::Core::ChannelCredentials` and assign it to `config.credentials`, but I don't see it taking effect in the worker: the worker's poller still errors with `GRPC::Unavailable`. Are there any workarounds for this?

I have a similar concern for a client-side code, it looks like once the "default" client is created in the Temporal module, there is no easy way to replace the certificate that it uses.

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.