You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node TLS certificates used for authenticating gRPC connections should be made totally ephemeral (e.g., regenerated periodically while the node is running) and validity of such certificates should be shortened (e.g., regenerate every X epochs, valid for ~X+1 epochs).
Care needs to be taken to not make the node unreachable until the next epoch transition as currently the other nodes will only update their local cache on an epoch transition.
The transition could look like this:
Certificate K is in use and registered.
Epoch X-1: Certificate K' is generated but not yet in use (K is still in use). Node registers {K, K'} as valid certificates.
Epoch X: Certificate K' is now in use, K is erased. Node registers {K'} as a valid certificate.
This would give enough time for propagating the updated certificate. Care must be taken to properly propagate these changes when using Sentry gRPC nodes.
Care needs to be taken to not make the node unreachable until the next epoch transition as currently the other nodes will only update their local cache on an epoch transition.
Node TLS certificates used for authenticating gRPC connections should be made totally ephemeral (e.g., regenerated periodically while the node is running) and validity of such certificates should be shortened (e.g., regenerate every X epochs, valid for ~X+1 epochs).
Care needs to be taken to not make the node unreachable until the next epoch transition as currently the other nodes will only update their local cache on an epoch transition.
The transition could look like this:
{K, K'}
as valid certificates.{K'}
as a valid certificate.This would give enough time for propagating the updated certificate. Care must be taken to properly propagate these changes when using Sentry gRPC nodes.
For dynamically supplying certificates to the gRPC server we can use the
GetCertificate
callback in thetls.Config
structure.The text was updated successfully, but these errors were encountered: