Repository navigation
Add support to retrieve certificate and key from windows cert store - #12230
Conversation
|
Hi @apurv15. Thanks for your PR. I'm waiting for a containerd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
e36280d to
b20f833
Compare
|
There are 4 commits from another PR in here (the gc backreferences PR); I wasn't sure if there was a purpose in stacking on those commits or if that was a mistake. |
Thanks for pointing this. I have rebased my diff. Let me know your comments on the PR. |
|
Maintainers: I have resolved the issues and updated the PR. Please review the latest change. If acceptable, kindly remove status/needs-update and trigger ok-to-test. |
Signed-off-by: Apurv Barve <[email protected]>
Signed-off-by: Apurv Barve <[email protected]>
On Windows, the Windows certificate store is a secure location where certificates and keys can be stored. This patch enhances containerd to take certificate subject (common name) in the config toml file. Then fetch the certificate and key from the key store and use it for TLS. This patch makes use of a library google/certtostore which implements private key crypto signer and decrypter interfaces. This is necessary as the key is not accessible from the cert store directly as a file.
These changes address: #11905
Signed-off-by: Apurv Barve [email protected]