8000 Windows: Enhance Containerd tls support with Windows certificate store integration by apurv15 · Pull Request #11909 · containerd/containerd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Windows: Enhance Containerd tls support with Windows certificate store integration #11909

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

apurv15
Copy link
@apurv15 apurv15 commented May 28, 2025

Add support to retrieve certificate and key from windows cert store.
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.
Signed-off-by: Apurv Barve apurvbarve@microsoft.com

These changes address: #11905

@k8s-ci-robot
Copy link

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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Instructions 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.

dmcgowan and others added 3 commits May 28, 2025 18:49
Include the descriptor for the image target on image events.

Signed-off-by: Derek McGowan <derek@mcg.dev>
Signed-off-by: Apurv Barve <apurvbarve@microsoft.com>
Signed-off-by: Apurv Barve <apurvbarve@microsoft.com>
Signed-off-by: Apurv Barve <apurvbarve@microsoft.com>
@@ -202,6 +202,13 @@ func New(ctx context.Context, config *srvconfig.Config) (*Server, error) {
}

tcpServerOpts = append(tcpServerOpts, grpc.Creds(credentials.NewTLS(tlsConfig)))
} else if config.GRPC.TCPTLSCName != "" {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dmcgowan @samuelkarp any thoughts on doing this?
Windows uses certstore to load certificates which is a rather important Windows usecase which customers have been requesting for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs Triage
Development

Successfully merging this pull request may close these issues.

4 participants
0