Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
haimgel opened this issue Aug 8, 2023 · 0 comments
Open

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

haimgel opened this issue Aug 8, 2023 · 0 comments

Comments

@haimgel
Copy link

haimgel commented Aug 8, 2023

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.

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

No branches or pull requests

1 participant