SIGN IN SIGN UP

Reload CA certificates of Keeper Raft connections regardless of loadDefaultCAFile, and of caConfig directories

Keeper creates the contexts for Raft connections itself and, unlike Poco,
does not trust the default CA certificates when loadDefaultCAFile is not
configured. Instead of skipping the CA reload for such contexts, keep a second
set of CA certificates for them that is loaded from the same caConfig with
their own default, so that Raft connections always follow caConfig and keep
trusting exactly what they trusted at startup.

When caConfig is a directory, also take the names and modification times of the
files in it into account, and let ConfigReloader watch the files in it, so that
replacing a certificate file in place is noticed without SYSTEM RELOAD CONFIG.
J
James Sanders committed
a617d50a71a0c7a7985ca7f31e123ffe171bf4c1
Parent: 95edb4f