Enable reloading CA without a restart
- Add two options to server: "client-root-ca-reload" and "peer-root-ca-reload". By default, these options are false. Whenever the options are enabled, the server will dynamically load CA keys & certs.
- Provide implementation for "GetConfigForClient". This will allow server to load CA files on each TLS handshake.
- Provide implementation for "VerifyConnection". This will allow clients (for peer connection) to load CA files per request.
Note: this patch implements CA reloading without performance optimization. Optimization could be done in the future. Potential optimization is to avoid loading CA on each request. We could implement a background routine to periodically loading CA files instead.
Fixes https://github.com/etcd-io/etcd/issues/11555
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions.
hello, we are also in need of this feature
E: can we remove stale tag?
Contributions are welcomed!
:wave: hey Marek, you mean we can contribute with the review? :)
Please start from contributing to discussion https://github.com/etcd-io/etcd/issues/11555.
Please note "I need it", is not a productive comment.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions.